diff options
author | Mario Vavti <mario@mariovavti.com> | 2016-06-21 10:08:49 +0200 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2016-06-21 10:08:49 +0200 |
commit | ecae0b3d97d759603bb2bf9bc51187a2842964c8 (patch) | |
tree | f91d7d8efdd3c0ba1b7eeb59ac4555d0bff8aafe /include/network.php | |
parent | da2c0a22f9763621e44a6614627034c9789d7639 (diff) | |
parent | 63423c8ee1f750d855c75ed67205076d21eda4f1 (diff) | |
download | volse-hubzilla-ecae0b3d97d759603bb2bf9bc51187a2842964c8.tar.gz volse-hubzilla-ecae0b3d97d759603bb2bf9bc51187a2842964c8.tar.bz2 volse-hubzilla-ecae0b3d97d759603bb2bf9bc51187a2842964c8.zip |
Merge branch 'dev' into sabre32
Diffstat (limited to 'include/network.php')
-rw-r--r-- | include/network.php | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/include/network.php b/include/network.php index 062f2c2bf..41d13a40e 100644 --- a/include/network.php +++ b/include/network.php @@ -1992,14 +1992,7 @@ function get_site_info() { else $service_class = false; - $visible_plugins = array(); - if(is_array(App::$plugins) && count(App::$plugins)) { - $r = q("select * from addon where hidden = 0"); - if(count($r)) - foreach($r as $rr) - $visible_plugins[] = $rr['aname']; - } - sort($visible_plugins); + $visible_plugins = visible_plugin_list(); if(@is_dir('.git') && function_exists('shell_exec')) $commit = trim(@shell_exec('git log -1 --format="%h"')); |