aboutsummaryrefslogtreecommitdiffstats
path: root/include/widgets.php
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2016-11-08 18:15:57 -0800
committerzotlabs <mike@macgirvin.com>2016-11-08 18:15:57 -0800
commit74947d1c1cb7c669ef2a167990066b34d89b5b07 (patch)
treec0c22dd1d190c23e6a93043be07d0e2ff1381701 /include/widgets.php
parentdb3d230ad9a63ac9363fc3f3a658f8b6c3c5eab4 (diff)
downloadvolse-hubzilla-74947d1c1cb7c669ef2a167990066b34d89b5b07.tar.gz
volse-hubzilla-74947d1c1cb7c669ef2a167990066b34d89b5b07.tar.bz2
volse-hubzilla-74947d1c1cb7c669ef2a167990066b34d89b5b07.zip
deprecate/remove get_channel_by_nick() which is just a less generalised variant of channelx_by_nick()
Diffstat (limited to 'include/widgets.php')
-rw-r--r--include/widgets.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/widgets.php b/include/widgets.php
index 6cff4e4b7..ff97b8bd5 100644
--- a/include/widgets.php
+++ b/include/widgets.php
@@ -905,7 +905,7 @@ function widget_wiki_list($arr) {
// This should not occur because /wiki should redirect to /wiki/channel ...
$channel = \App::get_channel();
} else {
- $channel = get_channel_by_nick(argv(1)); // Channel being viewed by observer
+ $channel = channelx_by_nick(argv(1)); // Channel being viewed by observer
}
if (!$channel) {
return '';