move *_list_mode to features

This commit is contained in:
Mario Vavti
2018-10-04 20:48:22 +02:00
parent e89a84608f
commit 6e03104e3e
5 changed files with 18 additions and 10 deletions

View File

@@ -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';