From: Janusz Dobrowolski Date: Tue, 7 Dec 2010 12:07:14 +0000 (+0000) Subject: Added missing hook class methods placeholders. X-Git-Tag: v2.4.2~19^2~425 X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=commitdiff_plain;h=80252de2e88e9c1584d05bee1e7befa3a5be17f2;p=fa-stable.git Added missing hook class methods placeholders. --- 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.