mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-06-21 17:09:54 -04:00
Rename theme callback helpers from xxx_block to xxx_theme to make room
for us to rename the dashboard helper to be a block helper since sidebar blocks are not just in the dashboard.
This commit is contained in:
@@ -93,7 +93,7 @@ class Admin_View_Core extends View {
|
||||
case "admin_head":
|
||||
$blocks = array();
|
||||
foreach (module::installed() as $module) {
|
||||
$helper_class = "{$module->name}_block";
|
||||
$helper_class = "{$module->name}_theme";
|
||||
if (method_exists($helper_class, $function)) {
|
||||
$blocks[] = call_user_func_array(
|
||||
array($helper_class, $function),
|
||||
|
||||
Reference in New Issue
Block a user