chore: remove events table (#1829)

This commit is contained in:
Régis Freyd
2018-09-22 22:22:34 -04:00
committed by GitHub
parent 1e91959da9
commit b3372264c8
24 changed files with 21 additions and 261 deletions
@@ -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'));
}