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

@@ -437,7 +437,7 @@ class Network extends \Zotlabs\Web\Controller {
$abook_uids = " and abook.abook_channel = " . local_channel() . " ";
$uids = " and item.uid = " . local_channel() . " ";
if(get_pconfig(local_channel(),'system','network_list_mode'))
if(feature_enabled(local_channel(), 'network_list_mode'))
$page_mode = 'list';
else
$page_mode = 'client';