diff options
author | Mario Vavti <mario@mariovavti.com> | 2018-10-04 20:48:22 +0200 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2018-10-04 20:48:22 +0200 |
commit | 6e03104e3ee785954b4f755240d1595f702522b2 (patch) | |
tree | 1692db5e10b7f47ac299c3d9745683a754c3c152 /Zotlabs/Module/Channel.php | |
parent | e89a84608ffac7289ec398a6a6173bc679098511 (diff) | |
download | volse-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.php | 2 |
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'; |