From cb311eb17fcfa8baf40c35b8234f9cd698cc0acf Mon Sep 17 00:00:00 2001 From: Josh North Date: Tue, 17 Jul 2018 10:34:58 -0400 Subject: [PATCH] Update 'AdminMail/src/AdminMail/Main.php' --- AdminMail/src/AdminMail/Main.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AdminMail/src/AdminMail/Main.php b/AdminMail/src/AdminMail/Main.php index 71284d7..6e54a4e 100644 --- a/AdminMail/src/AdminMail/Main.php +++ b/AdminMail/src/AdminMail/Main.php @@ -25,7 +25,7 @@ class Main extends PluginBase implements Listener { $adminsubject = $this->getConfig()->get("adminsubject"); $adminmessage = $this->getConfig()->get("adminmessage"); $task = new EmailTask($this, $adminmail, $name, $adminsubject, $adminmessage); - $this->getServer()->getScheduler()->scheduleDelayedTask($task, 5*20); + $this->getScheduler()->scheduleDelayedTask($task, 5*20); } } \ No newline at end of file