Rename CDN config variables to be generic, deprecating the old names
[lhc/web/wiklou.git] / includes / actions / RawAction.php
index 14f7603..505c9d5 100644 (file)
@@ -67,7 +67,7 @@ class RawAction extends FormlessAction {
 
                $contentType = $this->getContentType();
 
-               $maxage = $request->getInt( 'maxage', $config->get( 'SquidMaxage' ) );
+               $maxage = $request->getInt( 'maxage', $config->get( 'CdnMaxAge' ) );
                $smaxage = $request->getIntOrNull( 'smaxage' );
                if ( $smaxage === null ) {
                        if (