From: Mikael Nordfeldth Date: Fri, 5 Jun 2015 12:07:03 +0000 (+0200) Subject: GROUPS_PER_MINILIST was undefined in profileaction.php X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=dee4ca37abb380f9f17dceaa5ba25a96dc105a8e;p=quix0rs-gnu-social.git GROUPS_PER_MINILIST was undefined in profileaction.php --- 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 *