Commit 43fb74b9 authored by Dries's avatar Dries

- Bugfix: 'path' -> {url_alias}. Patch by Mark Coady.

parent c3ede753
......@@ -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.");
}
......
......@@ -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.");
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment