Use now helper (#1051)

This commit is contained in:
Gabriel Caruso
2018-03-29 05:09:04 -03:00
committed by Alexis Saettler
parent 1e1e984baf
commit 1794435726
29 changed files with 92 additions and 97 deletions
@@ -58,7 +58,7 @@ class NotesController extends Controller
$note->is_favorited = false;
} else {
$note->is_favorited = true;
$note->favorited_at = \Carbon\Carbon::now();
$note->favorited_at = now();
}
$contact->logEvent('note', $note->id, 'update');