From b504128d615a834e99918498532dd5d82b369c10 Mon Sep 17 00:00:00 2001 From: Samuel Georges Date: Sat, 31 Jan 2015 13:30:29 +1100 Subject: [PATCH] Pass edge flag along with update requests --- modules/system/classes/UpdateManager.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/modules/system/classes/UpdateManager.php b/modules/system/classes/UpdateManager.php index 7a4b37aff..a2ae3ad6a 100644 --- a/modules/system/classes/UpdateManager.php +++ b/modules/system/classes/UpdateManager.php @@ -684,6 +684,9 @@ class UpdateManager protected function applyHttpAttributes($http, $postData) { $postData['url'] = base64_encode(URL::to('/')); + if (Config::get('cms.edgeUpdates', false)) { + $postData['edge'] = 1; + } if ($this->key && $this->secret) { $postData['nonce'] = $this->createNonce();