From 80252de2e88e9c1584d05bee1e7befa3a5be17f2 Mon Sep 17 00:00:00 2001 From: Janusz Dobrowolski Date: Tue, 7 Dec 2010 12:07:14 +0000 Subject: [PATCH] Added missing hook class methods placeholders. --- includes/hooks.inc | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/includes/hooks.inc b/includes/hooks.inc index d03eff1a..c279b4af 100644 --- a/includes/hooks.inc +++ b/includes/hooks.inc @@ -135,6 +135,34 @@ class hooks { { return true; } + /* + This method is called after module install. + */ + function install_extension($check_only=true) + { + return true; + } + /* + This method is called after module uninstall. + */ + function uninstall_extension($check_only=true) + { + return true; + } + /* + This method is called on extension activation for company. + */ + function activate_extension($company, $check_only=true) + { + return true; + } + /* + This method is called when extension is deactivated for company. + */ + function deactivate_extension($company, $check_only=true) + { + return true; + } } // // include all extensions hook files. -- 2.30.2