diff --git a/app/Controllers/UserTricksController.php b/app/Controllers/UserTricksController.php index 978066b..2ab9c09 100644 --- a/app/Controllers/UserTricksController.php +++ b/app/Controllers/UserTricksController.php @@ -146,10 +146,6 @@ public function getDelete($slug) { $trick = $this->trick->findBySlug($slug); - if ($trick->user_id != Auth::user()->id) { - return \Lang::get('user_tricks.trick_does_not_belong_to_you'); - } - $trick->tags()->detach(); $trick->categories()->detach(); $trick->delete();