aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeroen <jeroenpraat@xs4all.nl>2014-09-12 12:09:32 +0000
committerJeroen <jeroenpraat@xs4all.nl>2014-09-12 12:09:32 +0000
commitc3f74b5609b711b71f10d748b079a8e98377834f (patch)
tree2fbc99dfe73974eedb011bc2dc976702462983b0
parentab7f2db4d755d11b9c4a7a27d60b6efafae47f92 (diff)
downloadvolse-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.
-rw-r--r--mod/settings.php5
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);