mirror of
https://github.com/friendica/friendica
synced 2025-01-05 13:43:36 +01:00
forumlist: move include to header
This commit is contained in:
parent
abf9ebd466
commit
dd58a713d8
1 changed files with 5 additions and 2 deletions
|
@ -1,4 +1,9 @@
|
||||||
<?php
|
<?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
|
//show subcribed forum if it is enabled in the usersettings
|
||||||
if (feature_enabled($uid,'forumlist_profile')) {
|
if (feature_enabled($uid,'forumlist_profile')) {
|
||||||
require_once('include/forums.php');
|
|
||||||
$show_forumlist = true;
|
|
||||||
$profile['forumlist'] = array( t('Forums:'), forumlist_profile_advanced($uid));
|
$profile['forumlist'] = array( t('Forums:'), forumlist_profile_advanced($uid));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue