]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
only put notices that are local in the sitemap
authorEvan Prodromou <evan@controlyourself.ca>
Fri, 3 Oct 2008 19:28:26 +0000 (15:28 -0400)
committerEvan Prodromou <evan@controlyourself.ca>
Fri, 3 Oct 2008 19:28:26 +0000 (15:28 -0400)
darcs-hash:20081003192826-5ed1f-3ec4ebe13d3e9297f99c90f4da3d469805ddc722.gz

scripts/sitemap.php

index fbfd14e199431a71a49a283b4d28f245cbd147f5..6b845beae1d50b91db49c06c42d1cd782bb0cc05 100644 (file)
@@ -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;