From 2572aa8c4e91fea87b3c5335b298d73af75c34b8 Mon Sep 17 00:00:00 2001 From: Benjamin Pietzner <5262188+bpmusicDE@users.noreply.github.com> Date: Fri, 5 Feb 2021 11:17:52 +0100 Subject: [PATCH] Can't deactivate module in oxid CE 6.2.2 Added missing onDeactivate function registered in metadata.php line 91 --- core/oestatisticsmodule.php | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/core/oestatisticsmodule.php b/core/oestatisticsmodule.php index ebfba4c..b0c25f9 100755 --- a/core/oestatisticsmodule.php +++ b/core/oestatisticsmodule.php @@ -39,6 +39,16 @@ public static function onActivate() { return self::_dbEvent('install.sql', 'Error activating module: '); } + + /** + * Module deactivation script. + * + * @return bool + */ + public static function onDeactivate() + { + return self::_dbEvent('uninstall.sql', 'Error deactivating module: '); + } /** * Install/uninstall event.