summaryrefslogtreecommitdiff
path: root/includes/FakeTitle.php
diff options
context:
space:
mode:
Diffstat (limited to 'includes/FakeTitle.php')
-rw-r--r--includes/FakeTitle.php6
1 files changed, 1 insertions, 5 deletions
diff --git a/includes/FakeTitle.php b/includes/FakeTitle.php
index 21b49bde..515ff387 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(); }