@@ -413,6 +413,10 @@ |
||
| 413 | 413 | return $url; |
| 414 | 414 | } |
| 415 | 415 | |
| 416 | + /** |
|
| 417 | + * @param string $feature |
|
| 418 | + * @param string $value |
|
| 419 | + */ |
|
| 416 | 420 | public function triggerChange($feature, $value = null) { |
| 417 | 421 | if ($this->emitter) { |
| 418 | 422 | $this->emitter->emit('\OC\User', 'changeUser', array($this, $feature, $value)); |
@@ -116,8 +116,8 @@ |
||
| 116 | 116 | * Looks up a system wide defined value |
| 117 | 117 | * |
| 118 | 118 | * @param string $key the key of the value, under which it was saved |
| 119 | - * @param mixed $default the default value to be returned if the value isn't set |
|
| 120 | - * @return mixed the value or $default |
|
| 119 | + * @param string|false $default the default value to be returned if the value isn't set |
|
| 120 | + * @return string the value or $default |
|
| 121 | 121 | */ |
| 122 | 122 | public function getSystemValue($key, $default = '') { |
| 123 | 123 | return $this->systemConfig->getValue($key, $default); |