| Conditions | 1 |
| Paths | 1 |
| Total Lines | 11 |
| Code Lines | 3 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 24 | public function create() |
||
| 25 | { |
||
| 26 | $db = XenForo_Application::get('db'); |
||
| 27 | $db->query('CREATE TABLE `' . self::DB_TABLE . '` |
||
| 28 | (`action_id` INT(11) UNSIGNED NOT NULL AUTO_INCREMENT, |
||
| 29 | `user_id` INT(10) UNSIGNED NOT NULL, |
||
| 30 | `action_date` INT(10) UNSIGNED NOT NULL, |
||
| 31 | `action_type` VARBINARY(25) NOT NULL, |
||
| 32 | PRIMARY KEY(`action_id`) |
||
| 33 | ) COMMENT=\'Temporarily logs Threema Gateway actions of users in order to limit them.\''); |
||
| 34 | } |
||
| 35 | |||
| 45 |