TaskHandler: remove incorrect internal warning

this is perfectly fine to use, and preferable to getting a cyclic ref to the scheduler. TaskScheduler->cancelTask() does pretty much the exact same thing, and the scheduler internals are designed to deal with this anyway.
This commit is contained in:
Dylan K. Taylor 2018-11-03 12:12:02 +00:00
parent ab48d85c35
commit f0182c9996

View File

@ -135,10 +135,6 @@ class TaskHandler{
return $this->period;
}
/**
* WARNING: Do not use this, it's only for internal use.
* Changes to this function won't be recorded on the version.
*/
public function cancel(){
try{
if(!$this->isCancelled()){