X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=sidebyside;f=plugins%2FSitemap%2Fnoticesitemap.php;h=efa23b94010e27589c92725faaa13f8083f9a789;hb=f5650806cc0556d93ada1b43b16608ea3695c76a;hp=9f323f72aaa79ea766e5c60bdb19dbe0314d6616;hpb=22d6ff25b55d803643ea8d024b56e645be6fc450;p=quix0rs-gnu-social.git diff --git a/plugins/Sitemap/noticesitemap.php b/plugins/Sitemap/noticesitemap.php index 9f323f72aa..efa23b9401 100644 --- a/plugins/Sitemap/noticesitemap.php +++ b/plugins/Sitemap/noticesitemap.php @@ -40,7 +40,6 @@ if (!defined('STATUSNET')) { * @license http://www.fsf.org/licensing/licenses/agpl-3.0.html GNU Affero General Public License version 3.0 * @link http://status.net/ */ - class NoticesitemapAction extends SitemapAction { var $notices = null; @@ -105,7 +104,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');