| Total Complexity | 5 |
| Total Lines | 49 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 15 | class m15_reparse_cblocks_data extends \phpbb\db\migration\migration |
||
| 16 | { |
||
| 17 | /** |
||
| 18 | * @inheritdoc |
||
| 19 | */ |
||
| 20 | public static function depends_on() |
||
| 21 | { |
||
| 22 | return array( |
||
| 23 | '\blitze\sitemaker\migrations\v20x\m5_add_cblocks_schema', |
||
| 24 | ); |
||
| 25 | } |
||
| 26 | |||
| 27 | /** |
||
| 28 | * @inheritDoc |
||
| 29 | */ |
||
| 30 | public function update_data() |
||
| 34 | ); |
||
| 35 | } |
||
| 36 | |||
| 37 | /** |
||
| 38 | * Run the custom block text reparser (see boardrules extension) |
||
| 39 | * |
||
| 40 | * @param int $current A custom block identifier |
||
| 41 | * @return bool|int A custom block identifier or true if finished |
||
| 42 | */ |
||
| 43 | public function reparse($current = 0) |
||
| 64 | } |
||
| 65 | } |
||
| 66 |