summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-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.");
}