diff options
author | zotlabs <mike@macgirvin.com> | 2018-02-20 21:31:40 -0800 |
---|---|---|
committer | zotlabs <mike@macgirvin.com> | 2018-02-20 21:31:40 -0800 |
commit | b6d34bffccc42a9367d1108144824970946532e8 (patch) | |
tree | 2ce9bb2545d9e762a69033f858d741c010c3c0a8 /include/network.php | |
parent | ce8349662d8c9e309f3faf57114acddb67eb11b7 (diff) | |
download | volse-hubzilla-b6d34bffccc42a9367d1108144824970946532e8.tar.gz volse-hubzilla-b6d34bffccc42a9367d1108144824970946532e8.tar.bz2 volse-hubzilla-b6d34bffccc42a9367d1108144824970946532e8.zip |
trim non-existent/deprecated plugins from siteinfo plugin list
Diffstat (limited to 'include/network.php')
-rw-r--r-- | include/network.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/network.php b/include/network.php index 2ac430e82..0824183f7 100644 --- a/include/network.php +++ b/include/network.php @@ -1605,10 +1605,10 @@ function get_site_info() { 'commit' => $commit, 'plugins' => $visible_plugins, 'register_policy' => $register_policy[get_config('system','register_policy')], - 'invitation_only' => intval(get_config('system','invitation_only')), + 'invitation_only' => (bool) intval(get_config('system','invitation_only')), 'directory_mode' => $directory_mode[get_config('system','directory_mode')], 'language' => get_config('system','language'), - 'rss_connections' => intval(get_config('system','feed_contacts')), + 'rss_connections' => (bool) intval(get_config('system','feed_contacts')), 'expiration' => $site_expire, 'default_service_restrictions' => $service_class, 'locked_features' => $locked_features, |