From: Andrew Garrett Date: Wed, 12 Aug 2009 15:30:38 +0000 (+0000) Subject: Make pointlessly private newFromConds public. X-Git-Tag: 1.31.0-rc.0~40342 X-Git-Url: http://git.cyclocoop.org/data/%24self?a=commitdiff_plain;h=8e55d637790ab02e3515b912c6d0fe3649c1d2f0;p=lhc%2Fweb%2Fwiklou.git Make pointlessly private newFromConds public. --- diff --git a/includes/Revision.php b/includes/Revision.php index 5c3f2cf898..c84aa559b5 100644 --- a/includes/Revision.php +++ b/includes/Revision.php @@ -183,7 +183,7 @@ class Revision { * @access private * @static */ - private static function newFromConds( $conditions ) { + public static function newFromConds( $conditions ) { $db = wfGetDB( DB_SLAVE ); $row = Revision::loadFromConds( $db, $conditions ); if( is_null( $row ) && wfGetLB()->getServerCount() > 1 ) {