Remove myaac_hooks table, load info directly from .json files and cache them

This commit is contained in:
slawkens
2020-01-13 20:19:34 +01:00
parent aaaba5cc84
commit e08557e5ae
7 changed files with 62 additions and 54 deletions

8
system/migrations/28.php Normal file
View File

@@ -0,0 +1,8 @@
<?php
$db->exec('DROP TABLE IF EXISTS `' . TABLE_PREFIX . 'hooks`;');
$cache = Cache::getInstance();
if($cache->enabled()) {
$cache->delete('hooks');
}