1 | <?php |
||
15 | class m3_initial_module extends \phpbb\db\migration\migration |
||
16 | { |
||
17 | /** |
||
18 | * @inheritdoc |
||
19 | */ |
||
20 | static public function depends_on() |
||
21 | { |
||
22 | return array( |
||
23 | '\blitze\content\migrations\v20x\m2_initial_data', |
||
24 | '\blitze\content\migrations\converter\c2_update_data', |
||
25 | '\blitze\content\migrations\converter\c3_update_tables', |
||
26 | ); |
||
27 | } |
||
28 | |||
29 | /** |
||
30 | * @inheritdoc |
||
31 | */ |
||
32 | public function update_data() |
||
33 | { |
||
34 | return array( |
||
35 | array('module.add', array( |
||
36 | 'acp', 'ACP_SITEMAKER', array( |
||
37 | 'module_basename' => '\blitze\content\acp\content_module', |
||
38 | 'modes' => array('content'), |
||
39 | 'before' => 'ACP_MENU', |
||
40 | ), |
||
41 | )), |
||
42 | array('module.add', array( |
||
43 | 'mcp', 'MCP_SITEMAKER_CONTENT', array( |
||
44 | 'module_basename' => '\blitze\content\mcp\content_module', |
||
45 | 'modes' => array('content'), |
||
46 | ), |
||
47 | )), |
||
48 | array('module.add', array( |
||
49 | 'ucp', 'UCP_SITEMAKER_CONTENT', array( |
||
50 | 'module_basename' => '\blitze\content\ucp\content_module', |
||
51 | 'modes' => array('content'), |
||
52 | ), |
||
53 | )), |
||
54 | ); |
||
55 | } |
||
56 | } |
||
57 |