? 253569.doc.patch Index: hooks/core.php =================================================================== RCS file: /cvs/drupal/contributions/docs/developer/hooks/core.php,v retrieving revision 1.194 diff -u -p -r1.194 core.php --- hooks/core.php 14 Aug 2008 19:11:37 -0000 1.194 +++ hooks/core.php 5 Sep 2008 05:10:21 -0000 @@ -807,7 +807,7 @@ function hook_init() { * parse it. * * @return -* An array of image toolkit names. +* An array of image toolkit names. */ function hook_image_toolkits() { return array('gd'); @@ -2146,6 +2146,22 @@ function custom_url_rewrite_inbound(&$re } } +/** + * Perform necessary actions after a module's status has changed. + * + * @param $module + * The name of the module the action is being performed on. + * @param $op + * What kind of action is being performed. Possible values: + * - "install": the module has been installed + * - "enable": the module has been enabled + * - "disable": the module has been disabled + * - "uninstall": the module has been uninstalled + */ +function hook_module($module, $op) { + my_module_integrate_with($module); +} + /** * @} End of "addtogroup hooks".