Merge branch '4.0' of Point808/PMMP_Plugins into master
This commit is contained in:
commit
766fc410c9
@ -1,7 +1,7 @@
|
||||
name: AdminMail
|
||||
main: AdminMail\Main
|
||||
api: [3.0.0, 4.0.0]
|
||||
version: 0.0.3
|
||||
version: 0.0.4
|
||||
description: "Administrative email on events"
|
||||
|
||||
commands:
|
||||
|
@ -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);
|
||||
}
|
||||
|
||||
}
|
Loading…
Reference in New Issue
Block a user