[gnome-web-www] Membership: removes caching of the members list now that the list isn't generated via mysql
- From: Fabiana Pedreira Simões <fabianaps src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-web-www] Membership: removes caching of the members list now that the list isn't generated via mysql
- Date: Sun, 12 Oct 2014 14:50:35 +0000 (UTC)
commit c5ea1b9525463b7e89288e4d5df0268ef8c7abff
Author: Fabiana Simões <fabianapsimoes gmail com>
Date: Sun Oct 12 16:50:26 2014 +0200
Membership: removes caching of the members list now that the list isn't generated via mysql
theme/page-membership.php | 12 ++----------
1 files changed, 2 insertions(+), 10 deletions(-)
---
diff --git a/theme/page-membership.php b/theme/page-membership.php
index 04cacad..a3e09ff 100644
--- a/theme/page-membership.php
+++ b/theme/page-membership.php
@@ -1,16 +1,8 @@
<?php
+$members_url = "https://foundation.gnome.org/membership/membershiplist";
-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);
-}
+$members = json_decode(file_get_contents($members_url));
require_once("header.php"); ?>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]