Merge "Fix broken min() call in OutputPage"
authorjenkins-bot <jenkins-bot@gerrit.wikimedia.org>
Sat, 10 Oct 2015 04:06:45 +0000 (04:06 +0000)
committerGerrit Code Review <gerrit@wikimedia.org>
Sat, 10 Oct 2015 04:06:45 +0000 (04:06 +0000)
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 );
        }