From dee4ca37abb380f9f17dceaa5ba25a96dc105a8e Mon Sep 17 00:00:00 2001 From: Mikael Nordfeldth Date: Fri, 5 Jun 2015 14:07:03 +0200 Subject: [PATCH] GROUPS_PER_MINILIST was undefined in profileaction.php --- lib/framework.php | 3 +++ lib/groupminilist.php | 2 -- lib/profileminilist.php | 2 -- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/lib/framework.php b/lib/framework.php index 5e66e1ae6f..da43297d10 100644 --- a/lib/framework.php +++ b/lib/framework.php @@ -38,6 +38,9 @@ define('PROFILES_PER_PAGE', 20); define('MESSAGES_PER_PAGE', 20); define('GROUPS_PER_PAGE', 20); +define('GROUPS_PER_MINILIST', 8); +define('PROFILES_PER_MINILIST', 8); + define('FOREIGN_NOTICE_SEND', 1); define('FOREIGN_NOTICE_RECV', 2); define('FOREIGN_NOTICE_SEND_REPLY', 4); diff --git a/lib/groupminilist.php b/lib/groupminilist.php index ca7f8775c6..8212b81b17 100644 --- a/lib/groupminilist.php +++ b/lib/groupminilist.php @@ -33,8 +33,6 @@ if (!defined('STATUSNET') && !defined('LACONICA')) { require_once INSTALLDIR.'/lib/grouplist.php'; -define('GROUPS_PER_MINILIST', 8); - /** * Widget to show a list of groups, good for sidebar * diff --git a/lib/profileminilist.php b/lib/profileminilist.php index 4f47487220..d2997d12de 100644 --- a/lib/profileminilist.php +++ b/lib/profileminilist.php @@ -29,8 +29,6 @@ if (!defined('GNUSOCIAL')) { exit(1); } -define('PROFILES_PER_MINILIST', 8); - /** * Widget to show a list of profiles, good for sidebar *