Skip to content

Commit

Permalink
faq: fix order of table deletion on uninstall (#887)
Browse files Browse the repository at this point in the history
  • Loading branch information
blackcoder87 authored Dec 11, 2023
1 parent 2404fbb commit 89d2729
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions application/modules/faq/config/config.php
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down Expand Up @@ -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')
Expand Down

0 comments on commit 89d2729

Please sign in to comment.