Commit e4707d47 authored by Thomas Löffler's avatar Thomas Löffler

Redirects only to index if no versions are left in extension

parent 13ef3c94
Pipeline #2154 passed with stages
in 1 minute and 24 seconds
......@@ -441,7 +441,7 @@ class RegisterkeyController extends \T3o\TerFe2\Controller\AbstractTerBasedContr
if ($this->terConnection->deleteExtensionVersion($version->getExtension()->getExtKey(), $version->getVersionString())) {
if ($version->getExtension()->getLastVersion() === NULL) {
if (empty($version->getExtension()->getVersions())) {
$redirectToIndexAction = TRUE;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment