dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update git submodules
[lhc/web/wiklou.git]
/
maintenance
/
populateImageSha1.php
diff --git
a/maintenance/populateImageSha1.php
b/maintenance/populateImageSha1.php
index
2735a1e
..
212a20d
100644
(file)
--- a/
maintenance/populateImageSha1.php
+++ b/
maintenance/populateImageSha1.php
@@
-76,9
+76,7
@@
class PopulateImageSha1 extends LoggedUpdateMaintenance {
__METHOD__
);
if ( !$res ) {
__METHOD__
);
if ( !$res ) {
- $this->error( "No such file: $file", true );
-
- return false;
+ $this->fatalError( "No such file: $file" );
}
$this->output( "Populating img_sha1 field for specified files\n" );
} else {
}
$this->output( "Populating img_sha1 field for specified files\n" );
} else {
@@
-180,5
+178,5
@@
class PopulateImageSha1 extends LoggedUpdateMaintenance {
}
}
}
}
-$maintClass =
"PopulateImageSha1"
;
+$maintClass =
PopulateImageSha1::class
;
require_once RUN_MAINTENANCE_IF_MAIN;
require_once RUN_MAINTENANCE_IF_MAIN;