summaryrefslogtreecommitdiffstats
path: root/apps/workflowengine/lib/Check/RequestUserAgent.php
diff options
context:
space:
mode:
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;
}