mirror of
https://github.com/slawkens/myaac.git
synced 2025-10-17 19:23:27 +02:00
Remove myaac_hooks table, load info directly from .json files and cache them
This commit is contained in:
8
system/migrations/28.php
Normal file
8
system/migrations/28.php
Normal file
@@ -0,0 +1,8 @@
|
||||
<?php
|
||||
|
||||
$db->exec('DROP TABLE IF EXISTS `' . TABLE_PREFIX . 'hooks`;');
|
||||
|
||||
$cache = Cache::getInstance();
|
||||
if($cache->enabled()) {
|
||||
$cache->delete('hooks');
|
||||
}
|
Reference in New Issue
Block a user