Example #1
0
 public function delete()
 {
     $id = $this->id;
     if (!parent::delete()) {
         return false;
     }
     return !$this->find($id) ? true : false;
 }
Example #2
0
 public function delete()
 {
     $this->clearTaggedCaches();
     return parent::delete();
     // TODO: Change the autogenerated stub
 }
Example #3
0
 /**
  *  Cascade delete songs
  */
 public function delete()
 {
     $this->songs()->delete();
     return parent::delete();
 }