Delete edit history entries in batches
authorMatthias Schmidt <gravatronics@live.com>
Sat, 22 Jun 2019 08:31:53 +0000 (10:31 +0200)
committerMatthias Schmidt <gravatronics@live.com>
Sat, 22 Jun 2019 08:31:53 +0000 (10:31 +0200)
commit497720f517e43db58bbccc0d25f5832ee3d916e9
tree759dd1b4078540bbe874129e2ce744a3f2e16394
parent78f6d353e5186675f9854ca2412a7732ef975adf
Delete edit history entries in batches

This change speeds up `EditHistoryManager::delete()` by more than 80% in my test cases ranging from deleting 100 to up to 100 000 entries.
wcfsetup/install/files/lib/system/edit/EditHistoryManager.class.php