From 43fb74b91075e494641f47bb9567d53da5e80e74 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Mon, 27 Oct 2003 20:54:08 +0000 Subject: - Bugfix: 'path' -> {url_alias}. Patch by Mark Coady. --- modules/path.module | 2 +- modules/path/path.module | 2 +- 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."); } -- cgit v1.2.3