Addon count on addon settings page (featured) doesnt work (always 0). Commented out.
This commit is contained in:
parent
ab7f2db4d7
commit
c3f74b5609
@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user