* moved spells to twig template

* removed useless spells.spell column that was duplicate of spells.words
* Usage_Statistics reports now plugin version too
* (internal) removed $hook_types array, using defined() and constant() functions now
* (internal) optimized Spells class
This commit is contained in:
slawkens
2017-10-20 10:52:55 +02:00
parent 913b4297cf
commit f9b6e9fa2e
9 changed files with 236 additions and 246 deletions

4
system/migrations/13.php Normal file
View File

@@ -0,0 +1,4 @@
<?php
if(fieldExist('spell', TABLE_PREFIX . 'spells'))
$db->query("ALTER TABLE `" . TABLE_PREFIX . "spells` DROP COLUMN `spell`;");
?>