From 0a5e1828f420a6e3c24e42c14bb7006e9368e8a9 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Sat, 13 Oct 2001 08:34:58 +0000 Subject: - Fixed the remaining SQL problems when running MySQL in ANSI mode. (moderation/comment related) --- modules/blog/blog.module | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'modules/blog') diff --git a/modules/blog/blog.module b/modules/blog/blog.module index 56d7bfa0c..732da9fa7 100644 --- a/modules/blog/blog.module +++ b/modules/blog/blog.module @@ -14,15 +14,6 @@ function blog_help() { score > 3 && $node->votes > 4) { - db_query("UPDATE node SET promote = '1' WHERE nid = '$node->nid'"); - } - } -} - function blog_perm() { return array("administer blogs", "access blogs", "post blogs"); } @@ -120,7 +111,6 @@ function blog_page_user($uid = 0, $date = 0) { } if ($blog->comment) { - $links[] = "nid\">". t("moderate") .""; $links[] = "nid\">". format_plural($blog->comments, t("comment"), t("comments")) .""; } @@ -157,7 +147,6 @@ function blog_page_last() { } if ($blog->comment) { - $links[] = "nid\">". t("moderate") .""; $links[] = "nid\">". format_plural($blog->comments, t("comment"), t("comments")) .""; } -- cgit v1.2.3