aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/db/tools/postgres.php
diff options
context:
space:
mode:
authorVictor A. Safronov <vitek@vitek.tomsk.ru>2016-11-30 23:59:36 +0400
committerVictor A. Safronov <vitek@vitek.tomsk.ru>2016-11-30 23:59:36 +0400
commit10753454bf697f411051988e7c841d1eb80cd114 (patch)
tree32d9b9a968626b4cbb10563861f87fe78e9fb9da /phpBB/phpbb/db/tools/postgres.php
parenta3faf1fefc884c55d870b5fbd0d7b19371907e6c (diff)
downloadforums-10753454bf697f411051988e7c841d1eb80cd114.tar
forums-10753454bf697f411051988e7c841d1eb80cd114.tar.gz
forums-10753454bf697f411051988e7c841d1eb80cd114.tar.bz2
forums-10753454bf697f411051988e7c841d1eb80cd114.tar.xz
forums-10753454bf697f411051988e7c841d1eb80cd114.zip
[ticket/13757] Prevents the count of unread PMs from being negative
Sometimes the user_unread_privmsg flag in users table can become negative. It happens when the unread message is requested by simultaneous concurrent requests. Both requests will decrement the value of the flag. This commit prevents updating the flag if the message already marked as read. PHPBB3-13757
Diffstat (limited to 'phpBB/phpbb/db/tools/postgres.php')
0 files changed, 0 insertions, 0 deletions