Ignore:
Timestamp:
Mar 30, 2011, 12:14:02 PM (13 years ago)
Author:
patdenice
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/autoupdate/trunk/main.inc.php

    r9712 r9935  
    2323}
    2424
    25 if (script_basename() == 'admin')
    26  add_event_handler('get_admin_plugin_menu_links', 'check_for_auto_upgrade');
     25add_event_handler('get_admin_plugin_menu_links', 'check_for_auto_upgrade');
     26add_event_handler('ws_add_methods', 'add_ws_autoupdate_methods');
    2727
    2828function check_for_auto_upgrade($plugin_menu_links)
     
    5656  return $plugin_menu_links;
    5757}
     58
     59function add_ws_autoupdate_methods($arr)
     60{
     61  include_once(AUTOUPDATE_PATH.'ws_functions.inc.php');
     62}
    5863?>
Note: See TracChangeset for help on using the changeset viewer.