Total Complexity | 4 |
Total Lines | 36 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
13 | class m13_set_permissions extends \phpbb\db\migration\migration |
||
14 | { |
||
15 | /** |
||
16 | * {@inheritDoc} |
||
17 | */ |
||
18 | public static function depends_on() |
||
19 | { |
||
20 | return [ |
||
21 | '\phpbb\ideas\migrations\m1_initial_schema', |
||
22 | '\phpbb\ideas\migrations\m3_acp_data', |
||
23 | '\phpbb\ideas\migrations\m12_drop_base_url_config', |
||
24 | ]; |
||
25 | } |
||
26 | |||
27 | /** |
||
28 | * {@inheritDoc} |
||
29 | */ |
||
30 | public function effectively_installed() |
||
33 | } |
||
34 | |||
35 | /** |
||
36 | * @inheritDoc |
||
37 | */ |
||
38 | public function update_data() |
||
39 | { |
||
40 | return [ |
||
41 | ['custom', [[$this, 'update_permissions']]], |
||
42 | ]; |
||
43 | } |
||
44 | |||
45 | public function update_permissions() |
||
49 | } |
||
50 | } |
||
51 |