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 "MWTestCase: include table prefix in domain for temp table only mode."
[lhc/web/wiklou.git]
/
includes
/
api
/
ApiMain.php
diff --git
a/includes/api/ApiMain.php
b/includes/api/ApiMain.php
index
7bbce97
..
d2c957d
100644
(file)
--- a/
includes/api/ApiMain.php
+++ b/
includes/api/ApiMain.php
@@
-1154,8
+1154,7
@@
class ApiMain extends ApiBase {
}
if ( $this->getParameter( 'curtimestamp' ) ) {
}
if ( $this->getParameter( 'curtimestamp' ) ) {
- $result->addValue( null, 'curtimestamp', wfTimestamp( TS_ISO_8601, time() ),
- ApiResult::NO_SIZE_CHECK );
+ $result->addValue( null, 'curtimestamp', wfTimestamp( TS_ISO_8601 ), ApiResult::NO_SIZE_CHECK );
}
if ( $this->getParameter( 'responselanginfo' ) ) {
}
if ( $this->getParameter( 'responselanginfo' ) ) {