From cd536e30991c61bcfc432fa48b8d31b2b0f8e41a Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Sat, 5 Feb 2011 16:18:59 -0500 Subject: [PATCH] move MESSAGES_PER_PAGE to common.php --- lib/common.php | 1 + lib/mailbox.php | 2 -- 2 files changed, 1 insertion(+), 2 deletions(-) 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 *