Fixed fatal error by defineing a blank function in parent class
authorJure Kajzer <freakolowsky@users.mediawiki.org>
Fri, 15 Jan 2010 10:12:00 +0000 (10:12 +0000)
committerJure Kajzer <freakolowsky@users.mediawiki.org>
Fri, 15 Jan 2010 10:12:00 +0000 (10:12 +0000)
includes/HttpFunctions.php

index 35874e8..221045c 100644 (file)
@@ -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 ) {  }
+
 }
 
 /**