mirror of
https://github.com/appwrite/appwrite
synced 2026-05-23 08:58:35 +00:00
Remove empty check
This commit is contained in:
parent
bc9caeaae0
commit
bd63f0cf3d
1 changed files with 1 additions and 1 deletions
|
|
@ -1084,7 +1084,7 @@ class Builds extends Action
|
|||
$deploymentStartTime = $deployment->getCreatedAt();
|
||||
|
||||
// Skip auto-activation if current active deployment started later than deployment that is being activated
|
||||
if (!empty($currentActiveStartTime) && !empty($deploymentStartTime) && $currentActiveStartTime < $deploymentStartTime) {
|
||||
if ($currentActiveStartTime < $deploymentStartTime) {
|
||||
$activateBuild = true;
|
||||
} else {
|
||||
Console::info('Skipping auto-activation as current deployment is more recent');
|
||||
|
|
|
|||
Loading…
Reference in a new issue