| Total Complexity | 3 |
| Total Lines | 38 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 12 | class c1_remove_modules extends \phpbb\db\migration\migration |
||
| 13 | { |
||
| 14 | /** |
||
| 15 | * This does not work when uninstalling for some reason |
||
| 16 | * |
||
| 17 | * Skip this migration if the module_dir column does not exist |
||
| 18 | * |
||
| 19 | * @return bool True to skip this migration, false to run it |
||
| 20 | * @access public |
||
| 21 | * |
||
| 22 | public function effectively_installed() |
||
| 23 | { |
||
| 24 | return !$this->db_tools->sql_column_exists($this->table_prefix . 'modules', 'module_dir'); |
||
| 25 | } |
||
| 26 | */ |
||
| 27 | |||
| 28 | public function update_data() |
||
| 52 |