diff options
author | Jeroen <jeroenpraat@xs4all.nl> | 2014-09-12 12:09:32 +0000 |
---|---|---|
committer | Jeroen <jeroenpraat@xs4all.nl> | 2014-09-12 12:09:32 +0000 |
commit | c3f74b5609b711b71f10d748b079a8e98377834f (patch) | |
tree | 2fbc99dfe73974eedb011bc2dc976702462983b0 /mod | |
parent | ab7f2db4d755d11b9c4a7a27d60b6efafae47f92 (diff) | |
download | volse-hubzilla-c3f74b5609b711b71f10d748b079a8e98377834f.tar.gz volse-hubzilla-c3f74b5609b711b71f10d748b079a8e98377834f.tar.bz2 volse-hubzilla-c3f74b5609b711b71f10d748b079a8e98377834f.zip |
Addon count on addon settings page (featured) doesnt work (always 0). Commented out.
Diffstat (limited to 'mod')
-rw-r--r-- | mod/settings.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/mod/settings.php b/mod/settings.php index d6ebf9e90..5038a63c4 100644 --- a/mod/settings.php +++ b/mod/settings.php @@ -590,8 +590,9 @@ function settings_content(&$a) { $settings_addons = ""; $r = q("SELECT * FROM `hook` WHERE `hook` = 'plugin_settings' "); - if(! count($r)) - $settings_addons = t('No feature settings configured'); + // FIXME: This is always 0, even if there are plugin settings on this page + // if(! count($r)) + // $settings_addons = t('No feature settings configured'); call_hooks('feature_settings', $settings_addons); |