diff options
author | Joas Schilling <coding@schilljs.com> | 2016-08-01 17:56:33 +0200 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2016-08-01 17:56:33 +0200 |
commit | 6aa5d674d63db69367c97e7241e7d1575ef82690 (patch) | |
tree | 74600c656ba8034fd20847cf9853d748df30d189 /apps/workflowengine/lib/Check/RequestUserAgent.php | |
parent | ea4c6bd28568bce811c275d46478f44455cf237d (diff) | |
download | nextcloud-server-6aa5d674d63db69367c97e7241e7d1575ef82690.tar.gz nextcloud-server-6aa5d674d63db69367c97e7241e7d1575ef82690.zip |
Translate the errors
Diffstat (limited to 'apps/workflowengine/lib/Check/RequestUserAgent.php')
-rw-r--r-- | apps/workflowengine/lib/Check/RequestUserAgent.php | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/apps/workflowengine/lib/Check/RequestUserAgent.php b/apps/workflowengine/lib/Check/RequestUserAgent.php index 241b19136a7..7a8d4a71acf 100644 --- a/apps/workflowengine/lib/Check/RequestUserAgent.php +++ b/apps/workflowengine/lib/Check/RequestUserAgent.php @@ -22,6 +22,7 @@ namespace OCA\WorkflowEngine\Check; +use OCP\IL10N; use OCP\IRequest; class RequestUserAgent extends AbstractStringCheck { @@ -30,9 +31,11 @@ class RequestUserAgent extends AbstractStringCheck { protected $request; /** + * @param IL10N $l * @param IRequest $request */ - public function __construct(IRequest $request) { + public function __construct(IL10N $l, IRequest $request) { + parent::__construct($l); $this->request = $request; } |