| Total Complexity | 2 |
| Total Lines | 22 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 15 | class m4_initial_module extends \phpbb\db\migration\migration |
||
| 16 | { |
||
| 17 | /** |
||
| 18 | * @inheritdoc |
||
| 19 | */ |
||
| 20 | public static function depends_on() |
||
| 21 | { |
||
| 22 | return array( |
||
| 23 | '\blitze\sitemaker\migrations\converter\c1_remove_modules', |
||
| 24 | '\blitze\sitemaker\migrations\v20x\m3_initial_permission', |
||
| 25 | ); |
||
| 26 | } |
||
| 27 | |||
| 28 | /** |
||
| 29 | * @inheritdoc |
||
| 30 | */ |
||
| 31 | public function update_data() |
||
| 32 | { |
||
| 33 | return array( |
||
| 34 | // Add the Sitemaker tab in ucp/mcp. These will be used later |
||
| 35 | array('module.add', array('ucp', 0, 'UCP_SITEMAKER_CONTENT')), |
||
| 36 | array('module.add', array('mcp', 0, 'MCP_SITEMAKER_CONTENT')), |
||
| 37 | ); |
||
| 40 |