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 "filebackend: avoiding computing file SHA-1 hashes unless needed"
[lhc/web/wiklou.git]
/
includes
/
api
/
ApiUndelete.php
diff --git
a/includes/api/ApiUndelete.php
b/includes/api/ApiUndelete.php
index
ee5c3a2
..
840ef1b
100644
(file)
--- a/
includes/api/ApiUndelete.php
+++ b/
includes/api/ApiUndelete.php
@@
-65,7
+65,7
@@
class ApiUndelete extends ApiBase {
$pa = new PageArchive( $titleObj, $this->getConfig() );
$retval = $pa->undelete(
- (
isset( $params['timestamps'] ) ? $params['timestamps'] :
[] ),
+ (
$params['timestamps'] ??
[] ),
$params['reason'],
$params['fileids'],
false,