dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ceca18e
)
Fix broken min() call in OutputPage
author
Aaron Schulz
<aschulz@wikimedia.org>
Sat, 10 Oct 2015 03:55:47 +0000
(20:55 -0700)
committer
Aaron Schulz
<aschulz@wikimedia.org>
Sat, 10 Oct 2015 03:56:12 +0000
(
03:56
+0000)
Change-Id: Ia2d895371f6f114c1cb821dd1d2aaaef7935033f
includes/OutputPage.php
patch
|
blob
|
history
diff --git
a/includes/OutputPage.php
b/includes/OutputPage.php
index
d85c60c
..
62e9192
100644
(file)
--- a/
includes/OutputPage.php
+++ b/
includes/OutputPage.php
@@
-1957,7
+1957,7
@@
class OutputPage extends ContextSource {
* @since 1.27
*/
public function lowerCdnMaxage( $maxage ) {
- $this->mCdnMaxageLimit =
$this->
min( $maxage, $this->mCdnMaxageLimit );
+ $this->mCdnMaxageLimit = min( $maxage, $this->mCdnMaxageLimit );
$this->setSquidMaxage( $this->mSquidMaxage );
}