diff options
author | Evan Prodromou <evan@status.net> | 2010-06-04 15:47:26 -0400 |
---|---|---|
committer | Evan Prodromou <evan@status.net> | 2010-06-04 15:47:26 -0400 |
commit | 3a34d7e4ea5cf126aad41d9699186026b3587654 (patch) | |
tree | 3c67d764086a9636672cec0c536dfa635adfc1f0 /plugins/Sitemap/noticesitemap.php | |
parent | 6d39a7513787c6747fc9ff50a33a733eb3148682 (diff) |
Only show local public notices in sitemap
Only show local public notices in sitemap. Only do counts for them
in the sitemap index, and only show them in the notice sitemap.
Diffstat (limited to 'plugins/Sitemap/noticesitemap.php')
-rw-r--r-- | plugins/Sitemap/noticesitemap.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Sitemap/noticesitemap.php b/plugins/Sitemap/noticesitemap.php index 9f323f72a..7d9d2e5d6 100644 --- a/plugins/Sitemap/noticesitemap.php +++ b/plugins/Sitemap/noticesitemap.php @@ -105,7 +105,7 @@ class NoticesitemapAction extends SitemapAction $notice->whereAdd("created >= '$begindt'"); $notice->whereAdd("created < '$enddt'"); - $notice->whereAdd('is_local != 0'); + $notice->whereAdd('is_local = ' . Notice::LOCAL_PUBLIC); $notice->orderBy('created'); |