]> git.mxchange.org Git - friendica.git/blobdiff - view/theme/vier/style.php
Use short form array syntax everywhere
[friendica.git] / view / theme / vier / style.php
index 407e080550e13d31a23b0e91f031c8aa6c6a0d32..81010e38169485f0d2d352fb5c23f0dfe1d64a73 100644 (file)
@@ -56,7 +56,7 @@ header('Last-Modified: '.$modified);
 if (isset($_SERVER['HTTP_IF_MODIFIED_SINCE']) || isset($_SERVER['HTTP_IF_NONE_MATCH'])) {
 
        $cached_modified = gmdate('r', strtotime($_SERVER['HTTP_IF_MODIFIED_SINCE']));
-       $cached_etag = str_replace(array('"', "-gzip"), array('', ''),
+       $cached_etag = str_replace(['"', "-gzip"], ['', ''],
                                stripslashes($_SERVER['HTTP_IF_NONE_MATCH']));
 
        if (($cached_modified == $modified) && ($cached_etag == $etag)) {