From c3f74b5609b711b71f10d748b079a8e98377834f Mon Sep 17 00:00:00 2001 From: Jeroen Date: Fri, 12 Sep 2014 12:09:32 +0000 Subject: Addon count on addon settings page (featured) doesnt work (always 0). Commented out. --- mod/settings.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'mod/settings.php') 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); -- cgit v1.2.3