Merge branch 'ent-7705-error-500-en-vista-de-licence-management' into 'develop'

Minor CDE (bonus)

See merge request 
This commit is contained in:
Daniel Rodriguez 2021-06-16 12:38:44 +00:00
commit 02dad9a27d
1 changed files with 2 additions and 0 deletions
pandora_console/godmode/um_client/lib/UpdateManager

View File

@ -2017,6 +2017,7 @@ class Client
}
$rc = rename($file_path, $serverRepo.'/'.$file_name);
chmod($serverRepo.'/'.$file_name, 0660);
if ($rc === false) {
$this->lastError = 'Unable to deploy server update from '.$file_path;
@ -2025,6 +2026,7 @@ class Client
}
file_put_contents($serverRepo.'/version.txt', $version);
chmod($serverRepo.'/version.txt', 0660);
// Success.
$this->notify(100, 'Server update scheduled.');