| Conditions | 4 |
| Paths | 4 |
| Total Lines | 16 |
| Code Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 11 | function updateConfig($args) |
||
| 12 | { |
||
| 13 | if(!$args || !is_object($args)) |
||
| 14 | { |
||
| 15 | $args = new stdClass(); |
||
| 16 | } |
||
| 17 | |||
| 18 | $oModuleController = getController('module'); |
||
| 19 | $output = $oModuleController->updateModuleConfig('krzip', $args); |
||
| 20 | if($output->toBool()) |
||
| 21 | { |
||
| 22 | unset($this->module_config); |
||
| 23 | } |
||
| 24 | |||
| 25 | return $output; |
||
| 26 | } |
||
| 27 | } |
||
| 31 |