From feed5454f194ae2615d319ae1afc5284716e1c1b Mon Sep 17 00:00:00 2001 From: Roly Rudy Gutierrez Pinto Date: Fri, 28 Apr 2017 09:28:38 -0400 Subject: [PATCH] HOR-1750 --- .../src/ProcessMaker/Policies/ControlUnderUpdating.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/workflow/engine/src/ProcessMaker/Policies/ControlUnderUpdating.php b/workflow/engine/src/ProcessMaker/Policies/ControlUnderUpdating.php index 78e5dacc1..5247f160f 100644 --- a/workflow/engine/src/ProcessMaker/Policies/ControlUnderUpdating.php +++ b/workflow/engine/src/ProcessMaker/Policies/ControlUnderUpdating.php @@ -26,14 +26,14 @@ class ControlUnderUpdating implements iAuthenticate $underUpdating = \Bootstrap::isPMUnderUpdating(); if ($underUpdating['action']) { $sysTemp = true; - if (defined("SYS_TEMP")) { + if (defined('SYS_TEMP')) { $sysTemp = $underUpdating['workspace'] == SYS_TEMP; } - if ($underUpdating['workspace'] == "true" || $sysTemp) { + if ($underUpdating['workspace'] == 'true' || $sysTemp) { $message = 'The server is currently unable to handle the request ' - . 'due to a temporary overloading or maintenance of the ' - . 'server (An application update has probably been ' - . 'performed on the server).'; + . 'due to temporary overloading or server maintenance (' + . 'an application update has probably been performed on ' + . 'the server)'; throw new RestException(503, $message); } }