| Conditions | 3 |
| Paths | 3 |
| Total Lines | 12 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 27 | public function upgrade(string $oldVersion): bool |
||
| 28 | { |
||
| 29 | switch ($oldVersion) { |
||
| 30 | case '1.5.0': // shipped with Core-1.4.3 |
||
| 31 | case '1.5.1': // shipped with Core-2.0.15 |
||
| 32 | $enableLogging = $this->getVar('enableLogging'); |
||
| 33 | $this->delVars(); |
||
| 34 | $this->setVar('enableLogging', $enableLogging); |
||
| 35 | // future upgrade routines |
||
| 36 | } |
||
| 37 | |||
| 38 | return true; |
||
| 39 | } |
||
| 57 |