@@ -412,6 +412,10 @@ |
||
412 | 412 | return $url; |
413 | 413 | } |
414 | 414 | |
415 | + /** |
|
416 | + * @param string $feature |
|
417 | + * @param string $value |
|
418 | + */ |
|
415 | 419 | public function triggerChange($feature, $value = null) { |
416 | 420 | if ($this->emitter) { |
417 | 421 | $this->emitter->emit('\OC\User', 'changeUser', array($this, $feature, $value)); |
@@ -508,7 +508,7 @@ discard block |
||
508 | 508 | * if wnd.logging.enable is set to true in the config will log a leave line |
509 | 509 | * with the given function, the return value or the exception |
510 | 510 | * |
511 | - * @param $function |
|
511 | + * @param string $function |
|
512 | 512 | * @param mixed $result an exception will be logged and then returned |
513 | 513 | * @return mixed |
514 | 514 | */ |
@@ -535,6 +535,9 @@ discard block |
||
535 | 535 | return $result; |
536 | 536 | } |
537 | 537 | |
538 | + /** |
|
539 | + * @param string $function |
|
540 | + */ |
|
538 | 541 | private function swallow($function, \Exception $exception) { |
539 | 542 | if (\OC::$server->getConfig()->getSystemValue('wnd.logging.enable', false) === true) { |
540 | 543 | Util::writeLog('wnd', "$function swallowing ".get_class($exception) |