mirror of
https://github.com/nothingworksinc/ticketbeast.git
synced 2026-01-26 11:14:06 +00:00
47 - Deleting Stale Tests
This commit is contained in:
@@ -37,15 +37,6 @@ class Order extends Model
|
||||
return $this->tickets()->count();
|
||||
}
|
||||
|
||||
public function cancel()
|
||||
{
|
||||
foreach ($this->tickets as $ticket) {
|
||||
$ticket->release();
|
||||
}
|
||||
|
||||
$this->delete();
|
||||
}
|
||||
|
||||
public function toArray()
|
||||
{
|
||||
return [
|
||||
|
||||
Reference in New Issue
Block a user