v0.9.15b - Updated the menuplan pdf design
This commit is contained in:
@@ -228,6 +228,10 @@ class EventController extends Controller
|
||||
$userEvent->delete();
|
||||
}
|
||||
|
||||
$news = News::query()->where("type_id", "=", "3")->where("arrangement_id", "=", $event->id)->first();
|
||||
if($news !== null)
|
||||
$news->delete();
|
||||
|
||||
$event->delete();
|
||||
|
||||
return redirect()->route("events.index");
|
||||
|
||||
Reference in New Issue
Block a user