Remove some methods from FakeTitle that do not exist anymore in Title.
authorAlexandre Emsenhuber <ialex.wiki@gmail.com>
Mon, 21 May 2012 08:18:58 +0000 (10:18 +0200)
committerAlexandre Emsenhuber <ialex.wiki@gmail.com>
Mon, 21 May 2012 08:18:58 +0000 (10:18 +0200)
There are :
- FakeTitle::moveOverExistingRedirect()
- FakeTitle::moveToNewTitle()

Change-Id: I09f689ef185357b9c9afbfe95bc06b6135ed115d

includes/FakeTitle.php

index 369c1ee..60f7600 100644 (file)
@@ -107,8 +107,6 @@ class FakeTitle extends Title {
        function moveNoAuth( &$nt ) { $this->error(); }
        function isValidMoveOperation( &$nt, $auth = true, $reason = '' ) { $this->error(); }
        function moveTo( &$nt, $auth = true, $reason = '', $createRedirect = true ) { $this->error(); }
-       function moveOverExistingRedirect( &$nt, $reason = '', $createRedirect = true ) { $this->error(); }
-       function moveToNewTitle( &$nt, $reason = '', $createRedirect = true ) { $this->error(); }
        function moveSubpages( $nt, $auth = true, $reason = '', $createRedirect = true ) { $this->error(); }
        function isSingleRevRedirect() { $this->error(); }
        function isValidMoveTarget( $nt ) { $this->error(); }