dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
748a667
)
Make pointlessly private newFromConds public.
author
Andrew Garrett
<werdna@users.mediawiki.org>
Wed, 12 Aug 2009 15:30:38 +0000
(15:30 +0000)
committer
Andrew Garrett
<werdna@users.mediawiki.org>
Wed, 12 Aug 2009 15:30:38 +0000
(15:30 +0000)
includes/Revision.php
patch
|
blob
|
history
diff --git
a/includes/Revision.php
b/includes/Revision.php
index
5c3f2cf
..
c84aa55
100644
(file)
--- a/
includes/Revision.php
+++ b/
includes/Revision.php
@@
-183,7
+183,7
@@
class Revision {
* @access private
* @static
*/
- p
rivate
static function newFromConds( $conditions ) {
+ p
ublic
static function newFromConds( $conditions ) {
$db = wfGetDB( DB_SLAVE );
$row = Revision::loadFromConds( $db, $conditions );
if( is_null( $row ) && wfGetLB()->getServerCount() > 1 ) {