)
);
- return;
+ return 1;
}
if ($themeKey === $config->get('admin')) {
implode(',', $themesAvailable)
)
);
- return;
+ return 1;
}
}
)
);
drupal_set_message($e->getTranslatedMessage($this->getStringTranslation(), $theme), 'error');
+
+ return 1;
}
} elseif (empty($themesAvailable) && count($themesUninstalled) > 0) {
if (count($themesUninstalled) > 1) {
// Run cache rebuild to see changes in Web UI
$this->chainQueue->addCommand('cache:rebuild', ['cache' => 'all']);
+
+ return 0;
}
}