summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2003-10-27 20:54:08 +0000
committerDries Buytaert <dries@buytaert.net>2003-10-27 20:54:08 +0000
commit43fb74b91075e494641f47bb9567d53da5e80e74 (patch)
treeab7c15b0bce8a5ed88b8cb2482017f39cd155563
parentc3ede753cfb9688a433969f976c5516d6c55c585 (diff)
downloadbrdo-43fb74b91075e494641f47bb9567d53da5e80e74.tar.gz
brdo-43fb74b91075e494641f47bb9567d53da5e80e74.tar.bz2
- Bugfix: 'path' -> {url_alias}. Patch by Mark Coady.
-rw-r--r--modules/path.module2
-rw-r--r--modules/path/path.module2
2 files changed, 2 insertions, 2 deletions
diff --git a/modules/path.module b/modules/path.module
index 6022ccdee..5ab2ebea5 100644
--- a/modules/path.module
+++ b/modules/path.module
@@ -220,7 +220,7 @@ function path_load($pid) {
}
function path_delete($pid) {
- db_query("DELETE FROM path WHERE pid = '%d'", $pid);
+ db_query("DELETE FROM {url_alias} WHERE pid = '%d'", $pid);
return t("the alias has been deleted.");
}
diff --git a/modules/path/path.module b/modules/path/path.module
index 6022ccdee..5ab2ebea5 100644
--- a/modules/path/path.module
+++ b/modules/path/path.module
@@ -220,7 +220,7 @@ function path_load($pid) {
}
function path_delete($pid) {
- db_query("DELETE FROM path WHERE pid = '%d'", $pid);
+ db_query("DELETE FROM {url_alias} WHERE pid = '%d'", $pid);
return t("the alias has been deleted.");
}