only put notices that are local in the sitemap

darcs-hash:20081003192826-5ed1f-3ec4ebe13d3e9297f99c90f4da3d469805ddc722.gz
This commit is contained in:
Evan Prodromou 2008-10-03 15:28:26 -04:00
parent 67cf415b7e
commit 9308d9177e

View File

@ -82,7 +82,7 @@ function notices_map() {
$notices = DB_DataObject::factory('notice'); $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; $notice_count = 0;
$map_count = 1; $map_count = 1;