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
Use a low TTL for parser output when special pages are included
[lhc/web/wiklou.git]
/
maintenance
/
dumpBackup.php
diff --git
a/maintenance/dumpBackup.php
b/maintenance/dumpBackup.php
index
1904325
..
d4255a0
100644
(file)
--- a/
maintenance/dumpBackup.php
+++ b/
maintenance/dumpBackup.php
@@
-102,7
+102,9
@@
TEXT
$this->fatalError( "Unable to open file {$filename}\n" );
}
$pages = array_map( 'trim', $pages );
$this->fatalError( "Unable to open file {$filename}\n" );
}
$pages = array_map( 'trim', $pages );
- $this->pages = array_filter( $pages, create_function( '$x', 'return $x !== "";' ) );
+ $this->pages = array_filter( $pages, function ( $x ) {
+ return $x !== '';
+ } );
}
if ( $this->hasOption( 'start' ) ) {
}
if ( $this->hasOption( 'start' ) ) {