r61079 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r61078‎ | r61079 | r61080 >
Date:10:12, 15 January 2010
Author:freakolowsky
Status:reverted (Comments)
Tags:
Comment:
Fixed fatal error by defineing a blank function in parent class
Modified paths:
  • /trunk/phase3/includes/HttpFunctions.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/HttpFunctions.php
@@ -495,7 +495,7 @@
496496 # $_SERVER['REQUEST_URI'] gives a less reliable indication of the
497497 # referring page.
498498 if ( is_object( $wgTitle ) ) {
499 - $this->set_referer( $wgTitle->getFullURL() );
 499+ $this->setReferrer( $wgTitle->getFullURL() );
500500 }
501501
502502 $this->setupOutputHandler();
@@ -528,6 +528,9 @@
529529 $this->setCallback( array( $this, 'readOnly' ) );
530530 }
531531 }
 532+
 533+ public function setReferrer( $url ) { }
 534+
532535 }
533536
534537 /**

Follow-up revisions

RevisionCommit summaryAuthorDate
r61096Revert r61078/r61079 for now. Throws a lot of PHP warnings at translatewiki. ...raymond18:57, 15 January 2010

Comments

#Comment by Raymond (talk | contribs)   19:04, 15 January 2010

Reverted with r61096.

Status & tagging log