Poormanscron install file for uninstall features.
Psicomante - December 19, 2007 - 09:56
| Project: | Poormanscron |
| Version: | HEAD |
| Component: | Code |
| Category: | task |
| Priority: | normal |
| Assigned: | Psicomante |
| Status: | closed |
Description
This file delete the poormanscron variables in the variables table.
| Attachment | Size |
|---|---|
| poormanscron.install.txt | 327 bytes |

#1
Ops, old module name :P
Corrected file.
#2
Good find... Changed it a bit to remove all poormanscron_% variables:
<?php/**
* Implementation of hook_uninstall().
*/
function poormanscron_uninstall() {
db_query("DELETE FROM {variable} WHERE name LIKE 'poormanscron_%'");
cache_clear_all('variables', 'cache');
}
?>
Drupal 6: http://drupal.org/cvs?commit=100289
Drupal 5: http://drupal.org/cvs?commit=100290
#3
Automatically closed -- issue fixed for two weeks with no activity.