warning: Missing argument 2 for variable_get() when uninstalling

kenorb - October 21, 2008 - 13:46
Project:SimpleFeed
Version:6.x-1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:duplicate
Description

When uninstalling I've got following error message:

warning: Missing argument 2 for variable_get(), called in /simplefeed/simplefeed.install on line 24 and defined in /home/content/k/e/n/kenorb/html/polaczkowo/includes/bootstrap.inc on line 461.

In function simplefeed_uninstall() there should be line changed from:

  variable_get('simplefeed_check_url');

to:

  variable_del('simplefeed_check_url');

Because there is no point to get variable at the end of uninstalling process.

#1

gaele - November 27, 2008 - 11:47
Status:needs review» duplicate

#328164: Mistake in simplefeed.install

 
 

Drupal is a registered trademark of Dries Buytaert.