Commit 2a74134b authored by Tino Goratsch's avatar Tino Goratsch

- made it possible to run the ACP3 without the SEO module

  --> todo: adjust the installer to make installations without the SEO module actually possible
parent b00ce3cb
......@@ -8,7 +8,6 @@
<dependencies>
<module>permissions</module>
<module>system</module>
<module>seo</module>
</dependencies>
</info>
</module>
......@@ -8,7 +8,6 @@
<dependencies>
<module>permissions</module>
<module>system</module>
<module>seo</module>
<module>categories</module>
</dependencies>
</info>
......
......@@ -8,7 +8,6 @@
<dependencies>
<module>permissions</module>
<module>system</module>
<module>seo</module>
</dependencies>
</info>
</module>
......@@ -8,7 +8,6 @@
<dependencies>
<module>permissions</module>
<module>system</module>
<module>seo</module>
<module>categories</module>
</dependencies>
</info>
......
......@@ -8,7 +8,6 @@
<dependencies>
<module>permissions</module>
<module>system</module>
<module>seo</module>
</dependencies>
</info>
</module>
......@@ -27,9 +27,9 @@ class Index extends Core\Controller\AbstractAdminAction
/**
* Index constructor.
*
* @param \ACP3\Core\Controller\Context\AdminContext $context
* @param \ACP3\Core\Controller\Context\AdminContext $context
* @param \ACP3\Modules\ACP3\Seo\Model\Repository\DataGridRepository $dataGridRepository
* @param \ACP3\Modules\ACP3\Seo\Helper\MetaStatements $metaStatements
* @param \ACP3\Modules\ACP3\Seo\Helper\MetaStatements $metaStatements
*/
public function __construct(
Core\Controller\Context\AdminContext $context,
......
......@@ -28,11 +28,11 @@ class Pagination extends \ACP3\Core\Pagination
/**
* Pagination constructor.
*
* @param \ACP3\Modules\ACP3\Users\Model\UserModel $user
* @param \ACP3\Modules\ACP3\Users\Model\UserModel $user
* @param \ACP3\Modules\ACP3\Seo\Core\Breadcrumb\Title $title
* @param \ACP3\Core\I18n\Translator $translator
* @param \ACP3\Core\Http\RequestInterface $request
* @param \ACP3\Core\Router\RouterInterface $router
* @param \ACP3\Core\I18n\Translator $translator
* @param \ACP3\Core\Http\RequestInterface $request
* @param \ACP3\Core\Router\RouterInterface $router
* @param \ACP3\Modules\ACP3\Seo\Helper\MetaStatements $metaStatements
*/
public function __construct(
......
......@@ -40,9 +40,9 @@ class OnControllerActionBeforeDispatchListener
/**
* OnFrontControllerBeforeDispatchListener constructor.
*
* @param \ACP3\Core\Http\RequestInterface $request
* @param \ACP3\Core\Router\RouterInterface $router
* @param \ACP3\Modules\ACP3\Seo\Core\Router\Aliases $aliases
* @param \ACP3\Core\Http\RequestInterface $request
* @param \ACP3\Core\Router\RouterInterface $router
* @param \ACP3\Modules\ACP3\Seo\Core\Router\Aliases $aliases
* @param \ACP3\Modules\ACP3\Seo\Helper\MetaStatements $metaStatements
*/
public function __construct(
......
......@@ -43,6 +43,6 @@ class OnLayoutMetaListener
{
$this->view->assign('META', $this->metaStatements->getMetaTags());
echo $this->view->fetchTemplate('Seo/Partials/meta.tpl');
$this->view->displayTemplate('Seo/Partials/meta.tpl');
}
}
......@@ -59,7 +59,9 @@ class Schema implements Modules\Installer\SchemaInterface
*/
public function removeTables()
{
return [];
return [
"DROP TABLE IF EXISTS `{pre}seo`;",
];
}
/**
......
......@@ -5,7 +5,6 @@
<description lang="true"/>
<author>Tino Goratsch</author>
<version core="true"/>
<protected/>
<dependencies>
<module>permissions</module>
<module>system</module>
......
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