| Total Complexity | 5 |
| Total Lines | 48 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 13 | class v320_m1_reparse extends \phpbb\db\migration\container_aware_migration |
||
| 14 | { |
||
| 15 | /** |
||
| 16 | * @inheritDoc |
||
| 17 | */ |
||
| 18 | public static function depends_on() |
||
| 19 | { |
||
| 20 | return ['\skouat\ppde\migrations\v31x\v310_m3_currency_data']; |
||
| 21 | } |
||
| 22 | |||
| 23 | /** |
||
| 24 | * @inheritDoc |
||
| 25 | */ |
||
| 26 | public function update_data() |
||
| 27 | { |
||
| 28 | return [ |
||
| 29 | ['custom', [[$this, 'reparse']]], |
||
| 30 | ]; |
||
| 31 | } |
||
| 32 | |||
| 33 | /** |
||
| 34 | * Run the ppde donation pages text reparser |
||
| 35 | * |
||
| 36 | * @param int $current A donation page identifier |
||
| 37 | * |
||
| 38 | * @return bool|int A donation page identifier or true if finished |
||
| 39 | */ |
||
| 40 | public function reparse($current = 0) |
||
| 61 | } |
||
| 62 | } |
||
| 63 |