Fixed cache logic so download data is correctly available.
[WebKit-https.git] / Websites / webkit.org / wp-content / themes / webkit / nightly.php
index 8279b4b..f9afba8 100644 (file)
@@ -19,7 +19,7 @@ function get_nightly_download_details( $type = 'mac' ) {
         $type = $types[0];
     
     $cachekey = 'nightly_download_' . $type;
-    if ( is_super_cache_enabled() || false !== ( $cached = get_transient($cachekey) ) )
+    if ( false !== ( $cached = get_transient($cachekey) ) )
         return json_decode($cached);
        
     $url = sprintf(WEBKIT_NIGHTLY_ARCHIVE_URL, $type);