deprecate/remove get_channel_by_nick() which is just a less generalised variant of channelx_by_nick()

This commit is contained in:
zotlabs
2016-11-08 18:15:57 -08:00
parent db3d230ad9
commit 74947d1c1c
6 changed files with 26 additions and 28 deletions

View File

@@ -12,7 +12,7 @@ class File_upload extends \Zotlabs\Web\Controller {
// logger('file upload: ' . print_r($_REQUEST,true));
$channel = (($_REQUEST['channick']) ? get_channel_by_nick($_REQUEST['channick']) : null);
$channel = (($_REQUEST['channick']) ? channelx_by_nick($_REQUEST['channick']) : null);
if(! $channel) {
logger('channel not found');