Skip to content

Instantly share code, notes, and snippets.

@nickvergessen
Created June 23, 2012 13:46
Show Gist options
  • Save nickvergessen/2978347 to your computer and use it in GitHub Desktop.
Save nickvergessen/2978347 to your computer and use it in GitHub Desktop.
diff --git a/phpBB/includes/functions_privmsgs.php b/phpBB/includes/functions_privmsgs.php
index afd254d..ae8d48d 100644
--- a/phpBB/includes/functions_privmsgs.php
+++ b/phpBB/includes/functions_privmsgs.php
@@ -1145,9 +1145,6 @@ function phpbb_delete_user_pms($user_id)
$msg_id = (int) $row['msg_id'];
$delete_ids[$msg_id] = $msg_id;
- // Undelivered messages
- $undelivered_msg[] = $msg_id;
-
if (isset($undelivered_user[$row['user_id']]))
{
++$undelivered_user[$row['user_id']];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment