diff options
| author | Meik Sievertsen <acydburn@phpbb.com> | 2005-01-20 20:57:45 +0000 |
|---|---|---|
| committer | Meik Sievertsen <acydburn@phpbb.com> | 2005-01-20 20:57:45 +0000 |
| commit | 9c1a4bdac16945c7d616b3449cc7d97a2548fc22 (patch) | |
| tree | 27e35d979f7b8fd6b7844a6cba941b5b04a438bd /phpBB/includes/functions_privmsgs.php | |
| parent | a7ef13c639e048e9ee9edc25e7f7d9a5bf155812 (diff) | |
| download | forums-9c1a4bdac16945c7d616b3449cc7d97a2548fc22.tar forums-9c1a4bdac16945c7d616b3449cc7d97a2548fc22.tar.gz forums-9c1a4bdac16945c7d616b3449cc7d97a2548fc22.tar.bz2 forums-9c1a4bdac16945c7d616b3449cc7d97a2548fc22.tar.xz forums-9c1a4bdac16945c7d616b3449cc7d97a2548fc22.zip | |
- 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
Diffstat (limited to 'phpBB/includes/functions_privmsgs.php')
| -rw-r--r-- | phpBB/includes/functions_privmsgs.php | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/phpBB/includes/functions_privmsgs.php b/phpBB/includes/functions_privmsgs.php index 1682df0d1e..73171f318f 100644 --- a/phpBB/includes/functions_privmsgs.php +++ b/phpBB/includes/functions_privmsgs.php @@ -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 . " |
