Adapt & remove impossible code

This commit is contained in:
Philipp 2023-05-13 22:27:29 +02:00
parent 9386adb184
commit 7f184bf6fa
No known key found for this signature in database
GPG key ID: 24A7501396EB5432
3 changed files with 14 additions and 17 deletions

View file

@ -197,7 +197,7 @@ class Cron
// Optimizing this table only last seconds
if (DI::config()->get('system', 'optimize_tables')) {
Logger::info('Optimize start');
DBA::e("OPTIMIZE TABLE `post-delivery`");
DBA::optimizeTable('post-delivery');
Logger::info('Optimize end');
}
}