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:
d018001
)
Followup r95458
author
Sam Reed
<reedy@users.mediawiki.org>
Tue, 6 Sep 2011 15:45:43 +0000
(15:45 +0000)
committer
Sam Reed
<reedy@users.mediawiki.org>
Tue, 6 Sep 2011 15:45:43 +0000
(15:45 +0000)
Add a couple of bits of documentation
Removed an unused global
No need to 1.18 this
maintenance/refreshImageMetadata.php
patch
|
blob
|
history
diff --git
a/maintenance/refreshImageMetadata.php
b/maintenance/refreshImageMetadata.php
index
ec61218
..
9b732ed
100644
(file)
--- a/
maintenance/refreshImageMetadata.php
+++ b/
maintenance/refreshImageMetadata.php
@@
-156,6
+156,10
@@
class RefreshImageMetadata extends Maintenance {
}
}
+ /**
+ * @param $dbw DatabaseBase
+ * @return array
+ */
function getConditions( $dbw ) {
$conds = array();
@@
-179,8
+183,12
@@
class RefreshImageMetadata extends Maintenance {
return $conds;
}
+ /**
+ * @param $force bool
+ * @param $brokenOnly bool
+ */
function setupParameters( $force, $brokenOnly ) {
- global $wgUpdateCompatibleMetadata
, $wgReadOnly
;
+ global $wgUpdateCompatibleMetadata;
if ( $brokenOnly ) {
$wgUpdateCompatibleMetadata = false;