summaryrefslogtreecommitdiff
path: root/scripts/sitemap.php
diff options
context:
space:
mode:
authorEvan Prodromou <evan@controlyourself.ca>2008-10-03 15:28:26 -0400
committerEvan Prodromou <evan@controlyourself.ca>2008-10-03 15:28:26 -0400
commit9308d9177ea9f75477b493828ce7d90b767c5754 (patch)
tree1a2caa9bed21d2c24c9744253dbc120f96dd33e4 /scripts/sitemap.php
parent67cf415b7eaa65e2e0b6480638eaffcebcb10dca (diff)
only put notices that are local in the sitemap
darcs-hash:20081003192826-5ed1f-3ec4ebe13d3e9297f99c90f4da3d469805ddc722.gz
Diffstat (limited to 'scripts/sitemap.php')
-rw-r--r--scripts/sitemap.php2
1 files changed, 1 insertions, 1 deletions
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;