summaryrefslogtreecommitdiffstats
path: root/apps/twofactor_backupcodes/lib/Event/CodesGenerated.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/twofactor_backupcodes/lib/Event/CodesGenerated.php')
-rw-r--r--apps/twofactor_backupcodes/lib/Event/CodesGenerated.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/twofactor_backupcodes/lib/Event/CodesGenerated.php b/apps/twofactor_backupcodes/lib/Event/CodesGenerated.php
index c4ffcb37601..1724053281b 100644
--- a/apps/twofactor_backupcodes/lib/Event/CodesGenerated.php
+++ b/apps/twofactor_backupcodes/lib/Event/CodesGenerated.php
@@ -24,8 +24,8 @@ declare(strict_types=1);
namespace OCA\TwoFactorBackupCodes\Event;
+use OCP\EventDispatcher\Event;
use OCP\IUser;
-use Symfony\Component\EventDispatcher\Event;
class CodesGenerated extends Event {
@@ -33,6 +33,7 @@ class CodesGenerated extends Event {
private $user;
public function __construct(IUser $user) {
+ parent::__construct();
$this->user = $user;
}