From 8e55d637790ab02e3515b912c6d0fe3649c1d2f0 Mon Sep 17 00:00:00 2001 From: Andrew Garrett Date: Wed, 12 Aug 2009 15:30:38 +0000 Subject: [PATCH] Make pointlessly private newFromConds public. --- includes/Revision.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ) { -- 2.20.1