Index: trunk/phase3/maintenance/refreshImageMetadata.php |
— | — | @@ -156,6 +156,10 @@ |
157 | 157 | } |
158 | 158 | } |
159 | 159 | |
| 160 | + /** |
| 161 | + * @param $dbw DatabaseBase |
| 162 | + * @return array |
| 163 | + */ |
160 | 164 | function getConditions( $dbw ) { |
161 | 165 | $conds = array(); |
162 | 166 | |
— | — | @@ -179,8 +183,12 @@ |
180 | 184 | return $conds; |
181 | 185 | } |
182 | 186 | |
| 187 | + /** |
| 188 | + * @param $force bool |
| 189 | + * @param $brokenOnly bool |
| 190 | + */ |
183 | 191 | function setupParameters( $force, $brokenOnly ) { |
184 | | - global $wgUpdateCompatibleMetadata, $wgReadOnly; |
| 192 | + global $wgUpdateCompatibleMetadata; |
185 | 193 | |
186 | 194 | if ( $brokenOnly ) { |
187 | 195 | $wgUpdateCompatibleMetadata = false; |