Fix broken min() call in OutputPage
authorAaron Schulz <aschulz@wikimedia.org>
Sat, 10 Oct 2015 03:55:47 +0000 (20:55 -0700)
committerAaron Schulz <aschulz@wikimedia.org>
Sat, 10 Oct 2015 03:56:12 +0000 (03:56 +0000)
Change-Id: Ia2d895371f6f114c1cb821dd1d2aaaef7935033f

includes/OutputPage.php

index d85c60c..62e9192 100644 (file)
@@ -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 );
        }