Ignore:
Timestamp:
Jul 14, 2011, 4:01:17 PM (13 years ago)
Author:
nikrou
Message:

Make plugin works as expected using webservice.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/user_tags/public.php

    r11081 r11741  
    2424}
    2525
    26 if (!empty($_GET['action']) && in_array($_GET['action'], array('add', 'get'))) {
    27   include_once T4U_PLUGIN_ROOT . "/include/t4u_admin_action.inc.php";
    28 }
    29 
    30 include_once T4U_PLUGIN_ROOT . "/include/t4u_content.class.php";
    31 
    3226$public_content = new t4u_Content($plugin_config);
    3327add_event_handler('render_element_content',
     
    3630                  2
    3731                  );
     32
     33$t4u_ws = new t4u_Ws();
     34add_event_handler('ws_add_methods',
     35                  array($t4u_ws, 'addMethods')
     36                  );
    3837?>
Note: See TracChangeset for help on using the changeset viewer.