Improve UserStorageHandler::shutdown()
authorTim Düsterhus <duesterhus@woltlab.com>
Fri, 27 Mar 2015 21:52:05 +0000 (22:52 +0100)
committerTim Düsterhus <duesterhus@woltlab.com>
Fri, 27 Mar 2015 22:27:34 +0000 (23:27 +0100)
commit948d505d0d300e2f1035f75fead028b6bd79b2e1
tree20695a88fe80ac6f3c1f165fc3ae71a9fd58fc4c
parente144b35d5e8d7e02334f633547ebad450d1133c7
Improve UserStorageHandler::shutdown()

1. Better ordering of queries (REPLACE INTO is DELETE + INSERT),
   previous solution in 8518f3636eae69065e52ff7c75208ed34fa6f87c
   was insufficient
2. Retry failed transaction up to two times.
wcfsetup/install/files/lib/system/user/storage/UserStorageHandler.class.php