| Total Complexity | 3 |
| Total Lines | 19 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 13 | class m12_drop_base_url_config extends \phpbb\db\migration\migration |
||
| 14 | { |
||
| 15 | public function effectively_installed() |
||
| 16 | { |
||
| 17 | return !$this->config->offsetExists('ideas_base_url'); |
||
| 18 | } |
||
| 19 | |||
| 20 | public static function depends_on() |
||
| 21 | { |
||
| 22 | return [ |
||
| 23 | '\phpbb\ideas\migrations\m1_initial_schema', |
||
| 24 | '\phpbb\ideas\migrations\m5_base_url_config', |
||
| 25 | ]; |
||
| 26 | } |
||
| 27 | |||
| 28 | public function update_data() |
||
| 32 | ]; |
||
| 33 | } |
||
| 34 | } |
||
| 35 |