From 43128e5da5312bea546fca93e9651889bd6ebfed Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Fri, 7 Oct 2011 13:52:38 -0400 Subject: [PATCH] Move GROUPS_PER_PAGE to lib/framework --- lib/framework.php | 1 + lib/grouplist.php | 2 -- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/framework.php b/lib/framework.php index 689073440e..4458313eb9 100644 --- a/lib/framework.php +++ b/lib/framework.php @@ -34,6 +34,7 @@ define('AVATAR_MINI_SIZE', 24); define('NOTICES_PER_PAGE', 20); define('PROFILES_PER_PAGE', 20); define('MESSAGES_PER_PAGE', 20); +define('GROUPS_PER_PAGE', 20); define('FOREIGN_NOTICE_SEND', 1); define('FOREIGN_NOTICE_RECV', 2); diff --git a/lib/grouplist.php b/lib/grouplist.php index 34a43e61ae..e2adf57477 100644 --- a/lib/grouplist.php +++ b/lib/grouplist.php @@ -34,8 +34,6 @@ if (!defined('STATUSNET') && !defined('LACONICA')) { require_once INSTALLDIR.'/lib/widget.php'; -define('GROUPS_PER_PAGE', 20); - /** * Widget to show a list of groups *