forumlist: move include to header

This commit is contained in:
rabuzarus 2015-11-10 19:23:45 +01:00
parent abf9ebd466
commit dd58a713d8

View file

@ -1,4 +1,9 @@
<?php
/*
* @file include/identity.php
*/
require_once('include/forums.php');
/**
@ -607,8 +612,6 @@ function advanced_profile(&$a) {
//show subcribed forum if it is enabled in the usersettings
if (feature_enabled($uid,'forumlist_profile')) {
require_once('include/forums.php');
$show_forumlist = true;
$profile['forumlist'] = array( t('Forums:'), forumlist_profile_advanced($uid));
}