Changeset 32720 for extensions


Ignore:
Timestamp:
Jan 16, 2022, 10:11:55 PM (3 years ago)
Author:
ddtddt
Message:

[event_tracer] update for piwigo 12

Location:
extensions/event_tracer
Files:
1 added
1 deleted
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/event_tracer/main.inc.php

    r30183 r32720  
    2929Author: Piwigo team
    3030Author URI: http://piwigo.org
     31Has Settings: true
    3132*/
    3233
     
    145146    }
    146147  }
    147 
    148   function plugin_admin_menu($menu)
    149   {
    150     array_push($menu,
    151         array(
    152           'NAME' => 'Event Tracer',
    153           'URL' => get_admin_plugin_menu_link(dirname(__FILE__).'/tracer_admin.php')
    154         )
    155       );
    156     return $menu;
    157   }
    158148}
    159149
     
    161151$obj->load_config();
    162152
    163 add_event_handler('get_admin_plugin_menu_links', array(&$obj, 'plugin_admin_menu') );
     153
    164154add_event_handler('loc_begin_page_tail', array(&$obj, 'on_page_tail') );
    165155add_event_handler('trigger', array(&$obj, 'on_trigger') );
Note: See TracChangeset for help on using the changeset viewer.