summaryrefslogtreecommitdiffstats
path: root/lib/private/server.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/private/server.php')
-rw-r--r--lib/private/server.php6
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/private/server.php b/lib/private/server.php
index a3682dea6b3..2f688c47f09 100644
--- a/lib/private/server.php
+++ b/lib/private/server.php
@@ -314,7 +314,11 @@ class Server extends SimpleContainer implements IServerContainer {
);
});
$this->registerService('Mailer', function(Server $c) {
- return new Mailer($c->getConfig(), new \OC_Defaults());
+ return new Mailer(
+ $c->getConfig(),
+ $c->getLogger(),
+ new \OC_Defaults()
+ );
});
}