Changeset 26859 for extensions/rv_akismet/main.inc.php
- Timestamp:
- Jan 18, 2014, 3:31:03 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/rv_akismet/main.inc.php
r25963 r26859 11 11 define('AKIS_PATH' , PHPWG_PLUGINS_PATH . AKIS_DIR . '/'); 12 12 13 add_event_handler('user_comment_check', 'akismet_user_comment_check_wrapper', EVENT_HANDLER_PRIORITY_NEUTRAL+10, 2);13 add_event_handler('user_comment_check', 'akismet_user_comment_check_wrapper', EVENT_HANDLER_PRIORITY_NEUTRAL+10, 3); 14 14 add_event_handler('loc_begin_page_tail', 'akismet_page_tail' ); 15 15 … … 34 34 35 35 36 function akismet_user_comment_check_wrapper($action, $comment )36 function akismet_user_comment_check_wrapper($action, $comment, $where=null) 37 37 { 38 38 include_once( dirname(__FILE__).'/check.inc.php' ); 39 $action = akismet_user_comment_check($action, $comment );39 $action = akismet_user_comment_check($action, $comment, $where); 40 40 return $action; 41 41 }
Note: See TracChangeset
for help on using the changeset viewer.