| @@ -71,16 +71,8 @@ | ||
| 71 | 71 | if(empty($config)) { |
| 72 | 72 | |
| 73 | 73 | $config = $this->defaults->all(); |
| 74 | 74 | $this->saveOption($config); |
| 75 | - } else { | |
| 76 | - $defaults = $this->defaults->all(); | |
| 77 | - $merged = array_replace_recursive($defaults, $config); | |
| 78 | - | |
| 79 | - if ($merged !== $config) { | |
| 80 | - $config = $merged; | |
| 81 | - $this->saveOption($config); | |
| 82 | - } | |
| 83 | 75 | } |
| 84 | 76 | |
| 85 | 77 | return $config; |
| 86 | 78 | } |