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.

AttachmentSize
poormanscron.install.txt327 bytes

#1

Psicomante - December 19, 2007 - 09:58

Ops, old module name :P
Corrected file.

AttachmentSize
poormanscron.install.txt330 bytes

#2

Rob Loach - February 11, 2008 - 07:32
Status:patch (code needs review)» fixed

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

Anonymous (not verified) - February 25, 2008 - 07:41
Status:fixed» closed

Automatically closed -- issue fixed for two weeks with no activity.

 
 

Drupal is a registered trademark of Dries Buytaert.