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.