From f05a3b22e42701f3cb76659305fb7e4f21127bf7 Mon Sep 17 00:00:00 2001 From: Jure Kajzer Date: Fri, 15 Jan 2010 10:12:00 +0000 Subject: [PATCH] Fixed fatal error by defineing a blank function in parent class --- includes/HttpFunctions.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/includes/HttpFunctions.php b/includes/HttpFunctions.php index 35874e85a0..221045c8fe 100644 --- a/includes/HttpFunctions.php +++ b/includes/HttpFunctions.php @@ -495,7 +495,7 @@ class HttpRequest { # $_SERVER['REQUEST_URI'] gives a less reliable indication of the # referring page. if ( is_object( $wgTitle ) ) { - $this->set_referer( $wgTitle->getFullURL() ); + $this->setReferrer( $wgTitle->getFullURL() ); } $this->setupOutputHandler(); @@ -528,6 +528,9 @@ class HttpRequest { $this->setCallback( array( $this, 'readOnly' ) ); } } + + public function setReferrer( $url ) { } + } /** -- 2.20.1