From 5cb82b46eb64b7e2ab5c71c8648bc73c0832375a Mon Sep 17 00:00:00 2001 From: Chad Horohoe Date: Wed, 15 Jul 2009 22:51:29 +0000 Subject: [PATCH] (bug 18821) Delete unused fetchAllRevisions(), which doesn't do what it says anyway. --- includes/Revision.php | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/includes/Revision.php b/includes/Revision.php index 780bed2340..f53dbac7fd 100644 --- a/includes/Revision.php +++ b/includes/Revision.php @@ -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. -- 2.20.1