aboutsummaryrefslogtreecommitdiffstats
path: root/mod/settings.php
diff options
context:
space:
mode:
authorJeroen <jeroenpraat@xs4all.nl>2014-09-12 14:31:02 +0000
committerJeroen <jeroenpraat@xs4all.nl>2014-09-12 14:31:02 +0000
commite0047446964cc038e68df824755af8bc57359ecf (patch)
tree7b9c406b7aaa0cb435ea41cf38fb0ce0d885b740 /mod/settings.php
parentc576689897db774b8c569105e22b0c23caff1a43 (diff)
downloadvolse-hubzilla-e0047446964cc038e68df824755af8bc57359ecf.tar.gz
volse-hubzilla-e0047446964cc038e68df824755af8bc57359ecf.tar.bz2
volse-hubzilla-e0047446964cc038e68df824755af8bc57359ecf.zip
Fixed. Thanks to Thomas.
Diffstat (limited to 'mod/settings.php')
-rw-r--r--mod/settings.php7
1 files changed, 3 insertions, 4 deletions
diff --git a/mod/settings.php b/mod/settings.php
index 5038a63c4..a31814bf0 100644
--- a/mod/settings.php
+++ b/mod/settings.php
@@ -589,10 +589,9 @@ function settings_content(&$a) {
if((argc() > 1) && (argv(1) === 'featured')) {
$settings_addons = "";
- $r = q("SELECT * FROM `hook` WHERE `hook` = 'plugin_settings' ");
- // FIXME: This is always 0, even if there are plugin settings on this page
- // if(! count($r))
- // $settings_addons = t('No feature settings configured');
+ $r = q("SELECT * FROM `hook` WHERE `hook` = 'feature_settings' ");
+ if(! count($r))
+ $settings_addons = t('No feature settings configured');
call_hooks('feature_settings', $settings_addons);