Update 'AdminMail/src/AdminMail/Main.php'

This commit is contained in:
Josh North 2018-07-17 10:34:58 -04:00
parent 294a2ed769
commit cb311eb17f

View File

@ -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);
}
}