--- C:\Users\andy\Desktop\scratch\install.php +++ C:\Users\andy\Desktop\scratch\install.update.php @@ -182,7 +182,8 @@ /** * Install the current version of the database schema, and any other setup tasks. * - * The hook will be called the first time a module is installed, and the + * Implementations of this hook must be declared in the modules .install file. + * The hook will only be called the first time a module is installed, and the * module's schema version will be set to the module's greatest numbered update * hook. Because of this, anytime a hook_update_N() is added to the module, this * function needs to be updated to reflect the current version of the database @@ -299,7 +300,8 @@ * - Modifications to existing tables. * - Database tables the module created. * - * The uninstall hook will fire when the module gets uninstalled. + * The uninstall hook must be implemented in the module's .install file. It + * will fire when the module gets uninstalled. */ function hook_uninstall() { drupal_uninstall_schema('upload');