Browse Source

added $currentCopy to the RollbackTask.php

1.0
ZesInternational 10 years ago
parent
commit
fd89d2c04a
  1. 2
      Mage/Task/BuiltIn/Releases/RollbackTask.php

2
Mage/Task/BuiltIn/Releases/RollbackTask.php

@ -88,6 +88,8 @@ class RollbackTask extends AbstractTask implements IsReleaseAware
} }
} }
$currentCopy = rtrim($releasesDirectory, '/') . '/' . $releaseId;
if (!$releaseIsAvailable) { if (!$releaseIsAvailable) {
Console::output('Release <bold>' . $this->getReleaseId() . '</bold> is invalid or unavailable for <bold>' . $this->getConfig()->getHost() . '</bold> ... <red>FAIL</red>'); Console::output('Release <bold>' . $this->getReleaseId() . '</bold> is invalid or unavailable for <bold>' . $this->getConfig()->getHost() . '</bold> ... <red>FAIL</red>');

Loading…
Cancel
Save