From 89d2729a5f54e4dae372b0154becfe9475449437 Mon Sep 17 00:00:00 2001 From: blackcoder87 Date: Mon, 11 Dec 2023 19:27:35 +0100 Subject: [PATCH] faq: fix order of table deletion on uninstall (#887) --- application/modules/faq/config/config.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/application/modules/faq/config/config.php b/application/modules/faq/config/config.php index 494173396..65eacc273 100644 --- a/application/modules/faq/config/config.php +++ b/application/modules/faq/config/config.php @@ -11,7 +11,7 @@ class Config extends \Ilch\Config\Install { public $config = [ 'key' => 'faq', - 'version' => '1.9.1', + 'version' => '1.9.2', 'icon_small' => 'fa-regular fa-circle-question', 'author' => 'Veldscholten, Kevin', 'link' => 'https://ilch.de', @@ -40,9 +40,9 @@ public function install() public function uninstall() { + $this->db()->drop('faqs', true); $this->db()->drop('faqs_cats_access', true); $this->db()->drop('faqs_cats', true); - $this->db()->drop('faqs', true); $databaseConfig = new \Ilch\Config\Database($this->db()); $databaseConfig->delete('faq_sortCategoriesAlphabetically')