Ignore:
Timestamp:
Jan 18, 2007, 3:09:31 AM (18 years ago)
Author:
rvelices
Message:

plugin simplification: adding admin links does not require the plugin_id anymore...

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/plugins/event_tracer/main.inc.php

    r1705 r1731  
    1212  var $me_working;
    1313  var $my_config;
    14   var $my_id;
    1514 
    16   function EventTracer($id)
     15  function EventTracer()
    1716  {
    1817    $this->me_working=0;
    19     $this->my_id=$id;
    2018  }
    2119
     
    8482        array(
    8583          'NAME' => 'Event Tracer',
    86           'URL' => get_admin_plugin_menu_link($this->my_id, 'tracer_admin')
     84          'URL' => get_admin_plugin_menu_link(dirname(__FILE__).'/tracer_admin.php')
    8785        )
    8886      );
     
    9189}
    9290
    93 $obj = new EventTracer($plugin['id']);
     91$obj = new EventTracer();
    9492$obj->load_config();
    9593
Note: See TracChangeset for help on using the changeset viewer.