From: Evan Prodromou Date: Sat, 5 Feb 2011 21:18:59 +0000 (-0500) Subject: move MESSAGES_PER_PAGE to common.php X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=cd536e30991c61bcfc432fa48b8d31b2b0f8e41a;p=quix0rs-gnu-social.git move MESSAGES_PER_PAGE to common.php --- diff --git a/lib/common.php b/lib/common.php index 08779fb6fd..4fd49a5592 100644 --- a/lib/common.php +++ b/lib/common.php @@ -36,6 +36,7 @@ define('AVATAR_MINI_SIZE', 24); define('NOTICES_PER_PAGE', 20); define('PROFILES_PER_PAGE', 20); +define('MESSAGES_PER_PAGE', 20); define('FOREIGN_NOTICE_SEND', 1); define('FOREIGN_NOTICE_RECV', 2); diff --git a/lib/mailbox.php b/lib/mailbox.php index 2b00f5ffde..63bffa75cc 100644 --- a/lib/mailbox.php +++ b/lib/mailbox.php @@ -31,8 +31,6 @@ if (!defined('STATUSNET') && !defined('LACONICA')) { exit(1); } -define('MESSAGES_PER_PAGE', 20); - /** * common superclass for direct messages inbox and outbox *