Merge https://github.com/friendica/red into pending_merge
This commit is contained in:
commit
e219268a6e
@ -1551,6 +1551,7 @@ function profile_tabs($a, $is_owner=False, $nickname=Null){
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if($p['chat']) {
|
||||||
require_once('include/chat.php');
|
require_once('include/chat.php');
|
||||||
$has_chats = chatroom_list_count($uid);
|
$has_chats = chatroom_list_count($uid);
|
||||||
if ($has_chats) {
|
if ($has_chats) {
|
||||||
@ -1562,6 +1563,7 @@ function profile_tabs($a, $is_owner=False, $nickname=Null){
|
|||||||
'id' => 'chat-tab',
|
'id' => 'chat-tab',
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
require_once('include/menu.php');
|
require_once('include/menu.php');
|
||||||
$has_bookmarks = menu_list_count(local_user(),'',MENU_BOOKMARK) + menu_list_count(local_user(),'',MENU_SYSTEM|MENU_BOOKMARK);
|
$has_bookmarks = menu_list_count(local_user(),'',MENU_BOOKMARK) + menu_list_count(local_user(),'',MENU_SYSTEM|MENU_BOOKMARK);
|
||||||
|
Reference in New Issue
Block a user