]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - plugins/Sitemap/noticesitemap.php
More info for a proper, fancy-url lighttpd setup
[quix0rs-gnu-social.git] / plugins / Sitemap / noticesitemap.php
index 9f323f72aaa79ea766e5c60bdb19dbe0314d6616..efa23b94010e27589c92725faaa13f8083f9a789 100644 (file)
@@ -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');