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 "Simplify PHP by using ?? and ?:"
[lhc/web/wiklou.git]
/
includes
/
logging
/
LogEntry.php
diff --git
a/includes/logging/LogEntry.php
b/includes/logging/LogEntry.php
index
39e679b
..
b53a486
100644
(file)
--- a/
includes/logging/LogEntry.php
+++ b/
includes/logging/LogEntry.php
@@
-821,7
+821,7
@@
class ManualLogEntry extends LogEntryBase {
}
public function getTimestamp() {
- $ts = $this->timestamp
!== null ? $this->timestamp :
wfTimestampNow();
+ $ts = $this->timestamp
??
wfTimestampNow();
return wfTimestamp( TS_MW, $ts );
}