Ignore:
Timestamp:
Jun 18, 2014, 9:51:42 PM (10 years ago)
Author:
rvelices
Message:

since number of accepted args not required for add_event_handler, simplify calls

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/common.inc.php

    r28587 r28714  
    270270if ( !empty($conf['original_url_protection']) )
    271271{
    272   add_event_handler('get_element_url', 'get_element_url_protection_handler', EVENT_HANDLER_PRIORITY_NEUTRAL, 2 );
    273   add_event_handler('get_src_image_url', 'get_src_image_url_protection_handler', EVENT_HANDLER_PRIORITY_NEUTRAL, 2 );
     272  add_event_handler('get_element_url', 'get_element_url_protection_handler');
     273  add_event_handler('get_src_image_url', 'get_src_image_url_protection_handler');
    274274}
    275275trigger_notify('init');
Note: See TracChangeset for help on using the changeset viewer.