From 9308d9177ea9f75477b493828ce7d90b767c5754 Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Fri, 3 Oct 2008 15:28:26 -0400 Subject: only put notices that are local in the sitemap darcs-hash:20081003192826-5ed1f-3ec4ebe13d3e9297f99c90f4da3d469805ddc722.gz --- scripts/sitemap.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts') diff --git a/scripts/sitemap.php b/scripts/sitemap.php index fbfd14e19..6b845beae 100644 --- a/scripts/sitemap.php +++ b/scripts/sitemap.php @@ -82,7 +82,7 @@ function notices_map() { $notices = DB_DataObject::factory('notice'); - $notices->query('SELECT id, uri, url, modified FROM notice'); + $notices->query('SELECT id, uri, url, modified FROM notice where is_local = 1'); $notice_count = 0; $map_count = 1; -- cgit v1.2.3-54-g00ecf