diff options
author | Brion Vibber <brion@pobox.com> | 2010-04-02 15:45:03 -0700 |
---|---|---|
committer | Brion Vibber <brion@pobox.com> | 2010-04-02 15:45:03 -0700 |
commit | ec24f283dd6f1371125c042529f571645a5f13fa (patch) | |
tree | 2a7189c13ab052d82c6c631c9ebeb5890a311a1b /scripts/fixup_conversations.php | |
parent | 6cd0637e552ed6ce35b4447aa280fb13cf7f65cb (diff) |
Don't save duplicate messages into a user's packed inbox. We've already got the packed box loaded at insert time, so we can simply unpack it and check before doing the update query.
Should help with dupes that come in when inbox distrib jobs die and get restarted, etc.
Conflicts:
classes/Inbox.php
Looks like this was implemented on master recently and not copied up to testing. Merging to my version on testing as I've added some doc comments and extracted a couple functions for future ease of use.
Diffstat (limited to 'scripts/fixup_conversations.php')
0 files changed, 0 insertions, 0 deletions