fix: [upgrade] removed test change

pull/5526/head
iglocska 2020-01-20 10:25:00 +01:00
parent 22b2e82ace
commit 379c6c3443
No known key found for this signature in database
GPG Key ID: BEA224F1FEF113AC
1 changed files with 1 additions and 1 deletions

View File

@ -1762,7 +1762,7 @@ class AppModel extends Model
$job = $this->Job->find('first', array(
'conditions' => array('Job.id' => $processId)
));
if (empty($updates)) {
if (!empty($updates)) {
// Exit if updates are locked.
// This is not as reliable as a real lock implementation
// However, as all updates are re-playable, there is no harm if they