]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - classes/Notice_inbox.php
Localisation updates from translatewiki.net
[quix0rs-gnu-social.git] / classes / Notice_inbox.php
index a1aa9b05498c3c0eacdb97b7c9c835b40bbdee1f..d3e7853b1bd804eeb35adb0cc4eccec7cbd143fe 100644 (file)
@@ -1,7 +1,7 @@
 <?php
 /*
- * Laconica - a distributed open-source microblogging tool
- * Copyright (C) 2008, 2009, Control Yourself, Inc.
+ * StatusNet - the distributed open-source microblogging tool
+ * Copyright (C) 2008, 2009, StatusNet, Inc.
  *
  * This program is free software: you can redistribute it and/or modify
  * it under the terms of the GNU Affero General Public License as published by
@@ -17,7 +17,7 @@
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
  */
 
-if (!defined('LACONICA')) { exit(1); }
+if (!defined('STATUSNET') && !defined('LACONICA')) { exit(1); }
 
 require_once INSTALLDIR.'/classes/Memcached_DataObject.php';
 
@@ -27,6 +27,7 @@ define('INBOX_CACHE_WINDOW', 101);
 define('NOTICE_INBOX_GC_BOXCAR', 128);
 define('NOTICE_INBOX_GC_MAX', 12800);
 define('NOTICE_INBOX_LIMIT', 1000);
+define('NOTICE_INBOX_SOFT_LIMIT', 1000);
 
 define('NOTICE_INBOX_SOURCE_SUB', 1);
 define('NOTICE_INBOX_SOURCE_GROUP', 2);