From: Evan Prodromou Date: Fri, 7 Oct 2011 17:52:38 +0000 (-0400) Subject: Move GROUPS_PER_PAGE to lib/framework X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=43128e5da5312bea546fca93e9651889bd6ebfed;p=quix0rs-gnu-social.git Move GROUPS_PER_PAGE to lib/framework --- 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 *