summaryrefslogtreecommitdiff
path: root/plugins/Sitemap/noticesitemap.php
diff options
context:
space:
mode:
authorEvan Prodromou <evan@status.net>2010-04-12 10:23:32 -0400
committerEvan Prodromou <evan@status.net>2010-06-01 13:52:27 -0700
commitb73c8ff441008a4fa09eef66871f2cfebc0569b5 (patch)
treea7fe556e4431a9768e6f339dafbe8b745ad5025c /plugins/Sitemap/noticesitemap.php
parent144cdb559dc345016d087409c57554dd1fb03911 (diff)
Move NOTICES_PER_MAP to SitemapPlugin
Diffstat (limited to 'plugins/Sitemap/noticesitemap.php')
-rw-r--r--plugins/Sitemap/noticesitemap.php6
1 files changed, 2 insertions, 4 deletions
diff --git a/plugins/Sitemap/noticesitemap.php b/plugins/Sitemap/noticesitemap.php
index 12a22dbb2..c8db24efe 100644
--- a/plugins/Sitemap/noticesitemap.php
+++ b/plugins/Sitemap/noticesitemap.php
@@ -43,8 +43,6 @@ if (!defined('STATUSNET')) {
class NoticesitemapAction extends SitemapAction
{
- const NOTICES_PER_MAP = 25000;
-
var $notice = null;
function prepare($args)
@@ -63,8 +61,8 @@ class NoticesitemapAction extends SitemapAction
$d += 0;
$i += 0;
- $offset = ($i-1) * self::NOTICES_PER_MAP;
- $limit = self::NOTICES_PER_MAP;
+ $offset = ($i-1) * SitemapPlugin::NOTICES_PER_MAP;
+ $limit = SitemapPlugin::NOTICES_PER_MAP;
$this->notice = new Notice();