Ignore:
Timestamp:
Jan 18, 2014, 3:31:03 PM (10 years ago)
Author:
mistic100
Message:

compatibility with guestbook and command on albums

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/rv_akismet/main.inc.php

    r25963 r26859  
    1111define('AKIS_PATH' , PHPWG_PLUGINS_PATH . AKIS_DIR . '/');
    1212
    13 add_event_handler('user_comment_check', 'akismet_user_comment_check_wrapper', EVENT_HANDLER_PRIORITY_NEUTRAL+10, 2);
     13add_event_handler('user_comment_check', 'akismet_user_comment_check_wrapper', EVENT_HANDLER_PRIORITY_NEUTRAL+10, 3);
    1414add_event_handler('loc_begin_page_tail', 'akismet_page_tail' );
    1515
     
    3434
    3535
    36 function akismet_user_comment_check_wrapper($action, $comment)
     36function akismet_user_comment_check_wrapper($action, $comment, $where=null)
    3737{
    3838        include_once( dirname(__FILE__).'/check.inc.php' );
    39         $action = akismet_user_comment_check($action, $comment);
     39        $action = akismet_user_comment_check($action, $comment, $where);
    4040        return $action;
    4141}
Note: See TracChangeset for help on using the changeset viewer.