Removed tracking

This commit is contained in:
Graham Campbell
2015-08-01 17:07:06 +01:00
parent 2425682381
commit fb127fb861
36 changed files with 2 additions and 607 deletions

View File

@@ -69,11 +69,6 @@ class TeamController extends AbstractController
$user = User::create(Binput::all());
if (!$user->isValid()) {
segment_track('Dashboard', [
'event' => 'Added User',
'success' => false,
]);
return Redirect::back()->withInput(Binput::except('password'))
->with('title', sprintf(
'%s %s',
@@ -83,11 +78,6 @@ class TeamController extends AbstractController
->with('errors', $user->getErrors());
}
segment_track('Dashboard', [
'event' => 'Added User',
'success' => true,
]);
$successMsg = sprintf(
'%s %s',
trans('dashboard.notifications.awesome'),
@@ -117,11 +107,6 @@ class TeamController extends AbstractController
$user->update($items);
if (!$user->isValid()) {
segment_track('Dashboard', [
'event' => 'Updated User',
'success' => false,
]);
return Redirect::back()->withInput(Binput::except('password'))
->with('title', sprintf(
'%s %s',
@@ -131,11 +116,6 @@ class TeamController extends AbstractController
->with('errors', $user->getErrors());
}
segment_track('Dashboard', [
'event' => 'Updated User',
'success' => true,
]);
$successMsg = sprintf(
'%s %s',
trans('dashboard.notifications.awesome'),