r36520 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r36519‎ | r36520 | r36521 >
Date:03:21, 21 June 2008
Author:aaron
Status:old
Tags:
Comment:
E_SRICT; callback should have the ampersand
Modified paths:
  • /trunk/phase3/includes/EditPage.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/EditPage.php
@@ -753,7 +753,7 @@
754754 wfProfileOut( $fname );
755755 return self::AS_SPAM_ERROR;
756756 }
757 - if ( $wgFilterCallback && $wgFilterCallback( $this->mTitle, $this->textbox1, $this->section, &$this->hookError, $this->summary ) ) {
 757+ if ( $wgFilterCallback && $wgFilterCallback( $this->mTitle, $this->textbox1, $this->section, $this->hookError, $this->summary ) ) {
758758 # Error messages or other handling should be performed by the filter function
759759 wfProfileOut( "$fname-checks" );
760760 wfProfileOut( $fname );

Status & tagging log