[gnome-web-www] Membership: removes caching for members list



commit 7c95d2f4ac9ada40787ac45e160f9c03721516f8
Author: Fabiana Simões <fabianapsimoes gmail com>
Date:   Sun Oct 12 12:43:37 2014 +0200

    Membership: removes caching for members list

 theme/page-membership.php |    9 ---------
 1 files changed, 0 insertions(+), 9 deletions(-)
---
diff --git a/theme/page-membership.php b/theme/page-membership.php
index 0c7541e..b009044 100644
--- a/theme/page-membership.php
+++ b/theme/page-membership.php
@@ -1,16 +1,7 @@
 <?php
-
-
-if (false === ($members = get_transient('foundation_members_list'))) {
-
     $members_url = "https://foundation.gnome.org/membership/membershiplist";;
 
     $members = json_decode(file_get_contents($members_url));
-
-    // keeps a 12-hour cache until another HTTP request
-    // to get the members list
-    set_transient('foundation_members_list', $members, 60*60*12);
-
 }
 
 require_once("header.php"); ?>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]