Kill task of backup controller

Kill task of backup controller

by Jose Lorenzo Espeso -
Number of replies: 0

Hello Everybody!

I´m doing one plugin into admin-tool to control backup maximum size of course, I just anything done, buy I´ve a problem with to kill a task.

Anybody knows how can I do this? To kill a task. 


I´ve this in function of my plugin:


"$this->task->destroy();"


but it´s wrong, I´ve an error that said:


Excepción - Call to a member function get_courseid() on null

Thanks!

Average of ratings: -