summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrandon Bergren2008-12-09 21:50:48 (GMT)
committer Brandon Bergren2008-12-09 21:50:48 (GMT)
commit87663a86dc4ec57bcd641e514973127920a37c40 (patch)
treedfbf7615a6109aa7e00dc24581cb356577388730
parentc0c805debd0e68e1bbd089c7cfa18b38806e2277 (diff)
#334958 by lyricnz: Fix query errors during uninstall caused by silly typos.
-rw-r--r--location.install8
1 files changed, 4 insertions, 4 deletions
diff --git a/location.install b/location.install
index c08873c..2358a56 100644
--- a/location.install
+++ b/location.install
@@ -29,23 +29,23 @@ function location_uninstall() {
variable_del('location_settings_user');
// Delete node settings.
- $result = db_query("SELECT name FROM {variable} WHERE name LIKE 'location_settings_node_%");
+ $result = db_query("SELECT name FROM {variable} WHERE name LIKE 'location_settings_node_%'");
while ($row = db_fetch_object($result)) {
variable_del($row->name);
}
// Delete geocoder settings.
- $result = db_query("SELECT name FROM {variable} WHERE name LIKE 'location_geocode_%");
+ $result = db_query("SELECT name FROM {variable} WHERE name LIKE 'location_geocode_%'");
while ($row = db_fetch_object($result)) {
variable_del($row->name);
}
// Delete compatibility variables.
- $result = db_query("SELECT name FROM {variable} WHERE name LIKE 'location_maxnum_%");
+ $result = db_query("SELECT name FROM {variable} WHERE name LIKE 'location_maxnum_%'");
while ($row = db_fetch_object($result)) {
variable_del($row->name);
}
- $result = db_query("SELECT name FROM {variable} WHERE name LIKE 'location_defaultnum_%");
+ $result = db_query("SELECT name FROM {variable} WHERE name LIKE 'location_defaultnum_%'");
while ($row = db_fetch_object($result)) {
variable_del($row->name);
}