chore: remove events table (#1829)
This commit is contained in:
@@ -65,8 +65,6 @@ class IntroductionsController extends Controller
|
||||
|
||||
$contact->save();
|
||||
|
||||
$contact->logEvent('contact', $contact->id, 'update');
|
||||
|
||||
return redirect()->route('people.show', $contact)
|
||||
->with('success', trans('people.introductions_update_success'));
|
||||
}
|
||||
@@ -82,8 +80,6 @@ class IntroductionsController extends Controller
|
||||
{
|
||||
$gift->delete();
|
||||
|
||||
$contact->events()->forObject($gift)->get()->each->delete();
|
||||
|
||||
return redirect()->route('people.show', $contact)
|
||||
->with('success', trans('people.gifts_delete_success'));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user