From: Evan Prodromou Date: Fri, 3 Oct 2008 19:28:26 +0000 (-0400) Subject: only put notices that are local in the sitemap X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=9308d9177ea9f75477b493828ce7d90b767c5754;p=quix0rs-gnu-social.git only put notices that are local in the sitemap darcs-hash:20081003192826-5ed1f-3ec4ebe13d3e9297f99c90f4da3d469805ddc722.gz --- diff --git a/scripts/sitemap.php b/scripts/sitemap.php index fbfd14e199..6b845beae1 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;