mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-05-19 19:09:13 -04:00
* Remove the @todo in module event and always try to call gallery_event::$function first
* Refactor gallery.php to move site_menu, admin_menu, and context_menu to gallery_event.php
* Change Theme_View and Admin_view to call module::event("site_menu|admin_menu|context_menu"...)
This commit is contained in:
@@ -46,7 +46,6 @@ class Admin_View_Core extends Gallery_View {
|
||||
|
||||
public function admin_menu() {
|
||||
$menu = Menu::factory("root");
|
||||
gallery::admin_menu($menu, $this);
|
||||
module::event("admin_menu", $menu, $this);
|
||||
$menu->compact();
|
||||
return $menu;
|
||||
|
||||
Reference in New Issue
Block a user