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 *