From 560edf21f4297d895d794410e741dfccf0d1fbc6 Mon Sep 17 00:00:00 2001 From: Andy Miller Date: Fri, 8 Feb 2019 22:01:23 -0700 Subject: [PATCH] use live by default --- classes/admin.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/classes/admin.php b/classes/admin.php index 6297a1b5..54e1248d 100644 --- a/classes/admin.php +++ b/classes/admin.php @@ -1346,8 +1346,8 @@ class Admin $timeout = $this->grav['config']->get('system.session.timeout', 1800); if ($force || !$last_checked || empty($notifications) || (time() - $last_checked > $timeout)) { -// $body = Response::get('https://getgrav.org/notifications.json?' . time()); - $body = Response::get('http://localhost/notifications.json?' . time()); + $body = Response::get('https://getgrav.org/notifications.json?' . time()); +// $body = Response::get('http://localhost/notifications.json?' . time()); $notifications = json_decode($body, true); // Sort by date