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 = "";
|
$settings_addons = "";
|
||||||
|
|
||||||
$r = q("SELECT * FROM `hook` WHERE `hook` = 'plugin_settings' ");
|
$r = q("SELECT * FROM `hook` WHERE `hook` = 'plugin_settings' ");
|
||||||
if(! count($r))
|
// FIXME: This is always 0, even if there are plugin settings on this page
|
||||||
$settings_addons = t('No feature settings configured');
|
// if(! count($r))
|
||||||
|
// $settings_addons = t('No feature settings configured');
|
||||||
|
|
||||||
call_hooks('feature_settings', $settings_addons);
|
call_hooks('feature_settings', $settings_addons);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user