Pass edge flag along with update requests

This commit is contained in:
Samuel Georges 2015-01-31 13:30:29 +11:00
parent 125c189e19
commit b504128d61
1 changed files with 3 additions and 0 deletions

View File

@ -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();