Added missing hook class methods placeholders.
authorJanusz Dobrowolski <janusz@frontaccounting.eu>
Tue, 7 Dec 2010 12:07:14 +0000 (12:07 +0000)
committerJanusz Dobrowolski <janusz@frontaccounting.eu>
Tue, 7 Dec 2010 12:07:14 +0000 (12:07 +0000)
includes/hooks.inc

index d03eff1a7f382826f1524056b7355e4fb808f102..c279b4afc4371ded9621aa6548884168a729d8bc 100644 (file)
@@ -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.