Closed (fixed)
Project:
Link checker
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
18 Jan 2013 at 03:33 UTC
Updated:
2 Feb 2013 at 01:10 UTC
When uninstalling linkchecker 2.6 from Drupal 6, I get a php error along the lines of: "Missing argument 2 for variable_get()" for bootstrap.inc (Sorry, fixed it before copying the whole error...)
Looking at issue: http://drupal.org/node/113946 helped trace down the issue to a line in the linkchecker.install file.
On line 35:
variable_get('linkchecker_check_connections_max');
Needs to have NULL added to it to get rid of the error.
variable_get('linkchecker_check_connections_max',NULL);
I don't know the first thing about programming to know if this has other implications, but I do know it gets rid of the error on uninstall.
Comments
Comment #1
hass commentedNeed to be "del" for delete, not "get".
Comment #2
hass commentedComment #3
philsward commentedSo line 35 should actually be:
I thought it was odd to have the "get" in among the "delete" but figured there was a reason for it :-)
Comment #4
hass commentedD6: http://drupalcode.org/project/linkchecker.git/commit/e1318b1
D7: http://drupalcode.org/project/linkchecker.git/commit/f68187d