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