if ( !wfRunHooks( 'EditFilterMerged', array( $this, $this->textbox1, &$this->hookError ) ) ) {
# Error messages etc. could be handled within the hook...
wfProfileOut( $fname );
- return false;
+ return self::AS_HOOK_ERROR;
}
$isComment = ( $this->section == 'new' );
if ( !wfRunHooks( 'EditFilterMerged', array( $this, $text, &$this->hookError ) ) ) {
# Error messages etc. could be handled within the hook...
wfProfileOut( $fname );
- return false;
+ return self::AS_HOOK_ERROR;
}
# Handle the user preference to force summaries here, but not for null edits