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
@@ -148,8 +148,6 @@ class ContactsController extends Controller
$contact->setAvatarColor();
$contact->save();
$contact->logEvent('contact', $contact->id, 'create');
// Did the user press "Save" or "Submit and add another person"
if (! is_null($request->get('save'))) {
return redirect()->route('people.show', $contact);
@@ -347,8 +345,6 @@ class ContactsController extends Controller
break;
}
$contact->logEvent('contact', $contact->id, 'update');
dispatch(new ResizeAvatars($contact));
$contact->updateGravatar();