Make pointlessly private newFromConds public.
authorAndrew Garrett <werdna@users.mediawiki.org>
Wed, 12 Aug 2009 15:30:38 +0000 (15:30 +0000)
committerAndrew Garrett <werdna@users.mediawiki.org>
Wed, 12 Aug 2009 15:30:38 +0000 (15:30 +0000)
includes/Revision.php

index 5c3f2cf..c84aa55 100644 (file)
@@ -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 ) {