| Conditions | 2 |
| Paths | 2 |
| Total Lines | 14 |
| Code Lines | 9 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 36 | public function runActualTask($params = []): ?string |
||
| 37 | { |
||
| 38 | if ($this->mu()->getIsModuleUpgrade()) { |
||
| 39 | //do nothing ... |
||
| 40 | } else { |
||
| 41 | $this->runSilverstripeUpgradeTask( |
||
| 42 | 'doctor', |
||
| 43 | $this->param1, |
||
| 44 | $this->param2, |
||
| 45 | $this->rootDirForCommand |
||
| 46 | ); |
||
| 47 | $this->setCommitMessage('API: changing environment file(s)'); |
||
| 48 | } |
||
| 49 | return null; |
||
| 50 | } |
||
| 60 |