Browse Source

forumlist: move include to header

pull/2061/head
rabuzarus 6 years ago
parent
commit
dd58a713d8
1 changed files with 5 additions and 2 deletions
  1. +5
    -2
      include/identity.php

+ 5
- 2
include/identity.php 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));
}


Loading…
Cancel
Save