(bug 18821) Delete unused fetchAllRevisions(), which doesn't do what it says anyway.
authorChad Horohoe <demon@users.mediawiki.org>
Wed, 15 Jul 2009 22:51:29 +0000 (22:51 +0000)
committerChad Horohoe <demon@users.mediawiki.org>
Wed, 15 Jul 2009 22:51:29 +0000 (22:51 +0000)
includes/Revision.php

index 780bed2..f53dbac 100644 (file)
@@ -216,24 +216,6 @@ class Revision {
                return $ret;
        }
 
-       /**
-        * Return a wrapper for a series of database rows to
-        * fetch all of a given page's revisions in turn.
-        * Each row can be fed to the constructor to get objects.
-        *
-        * @param Title $title
-        * @return ResultWrapper
-        * @access public
-        * @static
-        */
-       public static function fetchAllRevisions( $title ) {
-               return Revision::fetchFromConds(
-                       wfGetDB( DB_SLAVE ),
-                       array( 'page_namespace' => $title->getNamespace(),
-                              'page_title'     => $title->getDBkey(),
-                              'page_id=rev_page' ) );
-       }
-
        /**
         * Return a wrapper for a series of database rows to
         * fetch all of a given page's revisions in turn.