Addon count on addon settings page (featured) doesnt work (always 0). Commented out.

This commit is contained in:
Jeroen 2014-09-12 12:09:32 +00:00
parent ab7f2db4d7
commit c3f74b5609

View File

@ -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);