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
Merge "Warn on session access in profileinfo.php and opensearch_desc.php"
[lhc/web/wiklou.git]
/
maintenance
/
patchSql.php
diff --git
a/maintenance/patchSql.php
b/maintenance/patchSql.php
index
f94046a
..
43fbd38
100644
(file)
--- a/
maintenance/patchSql.php
+++ b/
maintenance/patchSql.php
@@
-46,11
+46,11
@@
class PatchSql extends Maintenance {
public function execute() {
$dbw = $this->getDB( DB_MASTER );
foreach ( $this->mArgs as $arg ) {
public function execute() {
$dbw = $this->getDB( DB_MASTER );
foreach ( $this->mArgs as $arg ) {
- $files =
array(
+ $files =
[
$arg,
$dbw->patchPath( $arg ),
$dbw->patchPath( "patch-$arg.sql" ),
$arg,
$dbw->patchPath( $arg ),
$dbw->patchPath( "patch-$arg.sql" ),
-
)
;
+
]
;
foreach ( $files as $file ) {
if ( file_exists( $file ) ) {
$this->output( "$file ...\n" );
foreach ( $files as $file ) {
if ( file_exists( $file ) ) {
$this->output( "$file ...\n" );