* This doesn't receive anything, however you must still specify an
* parameter for your hook function, because it's referring to memory. Sorry =]
*
- * Currently this is only used by the "sql_auth" plugin by Valware in order to
+ * Currently this is only used by the "sql_db" plugin by Valware in order to
* redirect users immediately to the login page.
*
* Putting HTML in this hook is not a good idea.
define('HOOKTYPE_USER_LOGIN_FAIL', 115);
define('HOOKTYPE_USER_PERMISSION_LIST', 116);
+
+define('HOOKTYPE_EDIT_USER', 117);
+
+define('HOOKTYPE_USER_ROLE_LIST', 118);
+
+define('HOOKTYPE_EDIT_ROLE', 119);
+
+define('HOOKTYPE_ADD_ROLE', 120);
+
+define('HOOKTYPE_DEL_ROLE', 121);
+
+define('HOOKTYPE_AUTH_MOD', 200);
+
+/** An upgrade has been detected.
+ * @param array $versioninfo[]
+ * Array contains: "old_version" and "new_version"
+ */
+define('HOOKTYPE_UPGRADE', 201);
+
/**
* Class for "Hook"
* This is the main function which gets called whenever you want to use a Hook.