|
@@ -62,7 +62,15 @@ class UpdateSiteCommand extends Command
|
|
|
*
|
|
*
|
|
|
* @param InputInterface $input
|
|
* @param InputInterface $input
|
|
|
* @param OutputInterface $output
|
|
* @param OutputInterface $output
|
|
|
- * @throws \Exception
|
|
|
|
|
|
|
+ * @return int
|
|
|
|
|
+ * @throws NoSuchOrganizationException
|
|
|
|
|
+ * @throws \Doctrine\DBAL\ConnectionException
|
|
|
|
|
+ * @throws \Doctrine\DBAL\DBALException
|
|
|
|
|
+ * @throws \Opentalent\OtCore\Exception\InvalidWebsiteConfigurationException
|
|
|
|
|
+ * @throws \Opentalent\OtCore\Exception\NoSuchRecordException
|
|
|
|
|
+ * @throws \Opentalent\OtCore\Exception\NoSuchWebsiteException
|
|
|
|
|
+ * @throws \TYPO3\CMS\Extbase\Object\Exception
|
|
|
|
|
+ * @throws \Throwable
|
|
|
*/
|
|
*/
|
|
|
protected function execute(InputInterface $input, OutputInterface $output)
|
|
protected function execute(InputInterface $input, OutputInterface $output)
|
|
|
{
|
|
{
|
|
@@ -119,5 +127,6 @@ class UpdateSiteCommand extends Command
|
|
|
$rootUid = $siteController->updateSiteAction($org_id);
|
|
$rootUid = $siteController->updateSiteAction($org_id);
|
|
|
$io->success(sprintf("The website with root uid " . $rootUid . " has been updated"));
|
|
$io->success(sprintf("The website with root uid " . $rootUid . " has been updated"));
|
|
|
}
|
|
}
|
|
|
|
|
+ return 0;
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|