summaryrefslogtreecommitdiffstats
path: root/apps/workflowengine/lib/Check/RequestUserAgent.php
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2016-08-01 17:56:33 +0200
committerJoas Schilling <coding@schilljs.com>2016-08-01 17:56:33 +0200
commit6aa5d674d63db69367c97e7241e7d1575ef82690 (patch)
tree74600c656ba8034fd20847cf9853d748df30d189 /apps/workflowengine/lib/Check/RequestUserAgent.php
parentea4c6bd28568bce811c275d46478f44455cf237d (diff)
downloadnextcloud-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.php5
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;
}