From c67933901ba1526d5709b47f19742200f05af3e4 Mon Sep 17 00:00:00 2001 From: Sam Reed Date: Thu, 26 May 2011 20:38:05 +0000 Subject: [PATCH] It's not just for < 5.1! --- includes/FakeTitle.php | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/includes/FakeTitle.php b/includes/FakeTitle.php index 21b49bde7b..515ff387e1 100644 --- a/includes/FakeTitle.php +++ b/includes/FakeTitle.php @@ -6,10 +6,6 @@ class FakeTitle extends Title { function error() { throw new MWException( "Attempt to call member function of FakeTitle\n" ); } - // PHP 5.1 method overload - function __call( $name, $args ) { $this->error(); } - - // PHP <5.1 compatibility function isLocal() { $this->error(); } function isTrans() { $this->error(); } function getText() { $this->error(); } @@ -33,7 +29,7 @@ class FakeTitle extends Title { function getSubpageText() { $this->error(); } function getSubpageUrlForm() { $this->error(); } function getPrefixedURL() { $this->error(); } - function getFullURL( $query = '', $variant = false ) {$this->error(); } + function getFullURL( $query = '', $variant = false ) { $this->error(); } function getLocalURL( $query = '', $variant = false ) { $this->error(); } function getLinkUrl( $query = array(), $variant = false ) { $this->error(); } function escapeLocalURL( $query = '' ) { $this->error(); } -- 2.20.1