Fixed cache logic so download data is correctly available.
authorjond@apple.com <jond@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 4 Dec 2015 03:15:59 +0000 (03:15 +0000)
committerjond@apple.com <jond@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 4 Dec 2015 03:15:59 +0000 (03:15 +0000)
* wp-content/themes/webkit/nightly.php:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@193392 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Websites/webkit.org/ChangeLog
Websites/webkit.org/wp-content/themes/webkit/nightly.php

index e5e8e54..2d9a440 100644 (file)
@@ -1,3 +1,9 @@
+2015-12-03  Jonathan Davis  <jond@apple.com>
+
+        Fixed cache logic so download data is correctly available.
+
+        * wp-content/themes/webkit/nightly.php:
+
 2015-12-03  Timothy Hatcher  <timothy@apple.com>
 
         Add some missing redirects for directories of the old site.
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);