Add __METHOD__
authorAaron Schulz <aaron@users.mediawiki.org>
Thu, 10 Apr 2008 17:49:59 +0000 (17:49 +0000)
committerAaron Schulz <aaron@users.mediawiki.org>
Thu, 10 Apr 2008 17:49:59 +0000 (17:49 +0000)
includes/Title.php

index b7b5d1e..673ee16 100644 (file)
@@ -2862,7 +2862,8 @@ class Title {
                return $dbr->selectField( 'revision', 'count(*)',
                        'rev_page = ' . intval( $this->getArticleId() ) .
                        ' AND rev_id > ' . intval( $old ) .
-                       ' AND rev_id < ' . intval( $new ) );
+                       ' AND rev_id < ' . intval( $new ),
+                       __METHOD__ );
        }
 
        /**