Merge branch '4.0' of Point808/PMMP_Plugins into master

This commit is contained in:
Josh North 2018-07-17 10:36:08 -04:00 committed by Gitea
commit 766fc410c9
2 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
name: AdminMail name: AdminMail
main: AdminMail\Main main: AdminMail\Main
api: [3.0.0, 4.0.0] api: [3.0.0, 4.0.0]
version: 0.0.3 version: 0.0.4
description: "Administrative email on events" description: "Administrative email on events"
commands: commands:

View File

@ -25,7 +25,7 @@ class Main extends PluginBase implements Listener {
$adminsubject = $this->getConfig()->get("adminsubject"); $adminsubject = $this->getConfig()->get("adminsubject");
$adminmessage = $this->getConfig()->get("adminmessage"); $adminmessage = $this->getConfig()->get("adminmessage");
$task = new EmailTask($this, $adminmail, $name, $adminsubject, $adminmessage); $task = new EmailTask($this, $adminmail, $name, $adminsubject, $adminmessage);
$this->getServer()->getScheduler()->scheduleDelayedTask($task, 5*20); $this->getScheduler()->scheduleDelayedTask($task, 5*20);
} }
} }