1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-30 21:40:43 +02:00

- fix pm not_moved/removed retrieval (it was switched)

- cache db-size retrieval (saves a lot of seconds for very large boards)


git-svn-id: file:///svn/phpbb/trunk@8231 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Meik Sievertsen
2007-11-07 10:45:38 +00:00
parent 9114de0a0f
commit 8c26e780e3
3 changed files with 8 additions and 6 deletions

View File

@@ -253,7 +253,9 @@ class ucp_pm
if ($user->data['user_new_privmsg'] && $action == 'view_folder')
{
list($num_not_moved, $num_removed) = each(place_pm_into_folder($global_privmsgs_rules, $release));
$return = place_pm_into_folder($global_privmsgs_rules, $release);
$num_not_moved = $return['not_moved'];
$num_removed = $return['removed'];
}
if (!$msg_id && $folder_id == PRIVMSGS_NO_BOX)