mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-30 21:40:43 +02:00
- bugfixes
- default sort options for posts too - adjusted format_date to remove the (time intensive) preg_ calls - temporary style.php code. git-svn-id: file:///svn/phpbb/trunk@5068 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -101,7 +101,7 @@ $global_rule_conditions = array(
|
||||
);
|
||||
|
||||
// Get all folder
|
||||
function get_folder($user_id, &$folder, $folder_id = false, $mode = '')
|
||||
function get_folder($user_id, &$folder, $folder_id = false)
|
||||
{
|
||||
global $db, $user, $template;
|
||||
|
||||
@@ -110,11 +110,6 @@ function get_folder($user_id, &$folder, $folder_id = false, $mode = '')
|
||||
$folder = array();
|
||||
}
|
||||
|
||||
if ($mode == 'unread')
|
||||
{
|
||||
$folder['unread'] = array('folder_name' => $user->lang['UNREAD_MESSAGES']);
|
||||
}
|
||||
|
||||
// Get folder informations
|
||||
$sql = 'SELECT folder_id, COUNT(msg_id) as num_messages, SUM(unread) as num_unread
|
||||
FROM ' . PRIVMSGS_TO_TABLE . "
|
||||
|
Reference in New Issue
Block a user