From: Chad Horohoe Date: Wed, 15 Jul 2009 22:51:29 +0000 (+0000) Subject: (bug 18821) Delete unused fetchAllRevisions(), which doesn't do what it says anyway. X-Git-Tag: 1.31.0-rc.0~40905 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/banques/ajouter.php?a=commitdiff_plain;h=5cb82b46eb64b7e2ab5c71c8648bc73c0832375a;p=lhc%2Fweb%2Fwiklou.git (bug 18821) Delete unused fetchAllRevisions(), which doesn't do what it says anyway. --- 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.