Notice: Use of undefined constant GAID_FOR_UPDATE - assumed 'GAID_FOR_UPDATE' in...
authorAaron Schulz <aaron@users.mediawiki.org>
Sat, 7 May 2011 09:55:18 +0000 (09:55 +0000)
committerAaron Schulz <aaron@users.mediawiki.org>
Sat, 7 May 2011 09:55:18 +0000 (09:55 +0000)
includes/Title.php

index bcedd81..88ec68e 100644 (file)
@@ -3082,7 +3082,7 @@ class Title {
                }
 
                $dbw->begin(); # If $file was a LocalFile, its transaction would have closed our own.
-               $pageid = $this->getArticleID( GAID_FOR_UPDATE );
+               $pageid = $this->getArticleID( self::GAID_FOR_UPDATE );
                $protected = $this->isProtected();
                $pageCountChange = ( $createRedirect ? 1 : 0 ) - ( $nt->exists() ? 1 : 0 );