public function delete() { parent::delete(); kirby()->trigger('panel.file.delete', $this); }
public function delete() { parent::delete(); // clean the thumbs folder $this->page()->removeThumbs(); kirby()->trigger('panel.file.delete', $this); }