aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module/Channel.php
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2018-10-04 20:48:22 +0200
committerMario Vavti <mario@mariovavti.com>2018-10-04 20:48:22 +0200
commit6e03104e3ee785954b4f755240d1595f702522b2 (patch)
tree1692db5e10b7f47ac299c3d9745683a754c3c152 /Zotlabs/Module/Channel.php
parente89a84608ffac7289ec398a6a6173bc679098511 (diff)
downloadvolse-hubzilla-6e03104e3ee785954b4f755240d1595f702522b2.tar.gz
volse-hubzilla-6e03104e3ee785954b4f755240d1595f702522b2.tar.bz2
volse-hubzilla-6e03104e3ee785954b4f755240d1595f702522b2.zip
move *_list_mode to features
Diffstat (limited to 'Zotlabs/Module/Channel.php')
-rw-r--r--Zotlabs/Module/Channel.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zotlabs/Module/Channel.php b/Zotlabs/Module/Channel.php
index 8b2e35709..f1537ed15 100644
--- a/Zotlabs/Module/Channel.php
+++ b/Zotlabs/Module/Channel.php
@@ -182,7 +182,7 @@ class Channel extends Controller {
$item_normal_update = item_normal_update();
$sql_extra = item_permissions_sql(App::$profile['profile_uid']);
- if(get_pconfig(App::$profile['profile_uid'],'system','channel_list_mode') && (! $mid))
+ if(feature_enabled(App::$profile['profile_uid'], 'channel_list_mode') && (! $mid))
$page_mode = 'list';
else
$page_mode = 'client';