From 002cbaa8d8e3aabc71dd4ff4b424bc4735b3fdf1 Mon Sep 17 00:00:00 2001 From: Manish Verma Date: Mon, 24 Oct 2016 16:59:09 +0530 Subject: [PATCH] updates for Arindam's bug fix commit --- app/Http/Controllers/Agent/helpdesk/UserController.php | 2 +- resources/lang/en/lang.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Http/Controllers/Agent/helpdesk/UserController.php b/app/Http/Controllers/Agent/helpdesk/UserController.php index 9a94171de..4f03d6b69 100644 --- a/app/Http/Controllers/Agent/helpdesk/UserController.php +++ b/app/Http/Controllers/Agent/helpdesk/UserController.php @@ -491,7 +491,7 @@ class UserController extends Controller $user = User::find($id); $user->delete(); - return redirect('user')->with('success', Lang::get('lang.agent_delete_successfully_and_ticket_assign_to_another_user')); + return redirect('user')->with('success', Lang::get('lang.agent_delete_successfully_and_ticket_assign_to_another_agent')); } if (User_org::where('user_id', '=', $id)) { DB::table('user_assign_organization')->where('user_id', '=', $id)->delete(); diff --git a/resources/lang/en/lang.php b/resources/lang/en/lang.php index e99cc2fe2..66d24af99 100644 --- a/resources/lang/en/lang.php +++ b/resources/lang/en/lang.php @@ -1528,6 +1528,6 @@ return [ 'user_delete_successfully' => 'User deleted successfully', 'agent_delete_successfully' => 'Agent deleted successfully', 'select_another_agent' => 'Select another agent', - 'agent_delete_successfully_and_ticket_assign_to_another_agent' => 'Agent delete successfully and ticket assign to another agent', + 'agent_delete_successfully_and_ticket_assign_to_another_agent' => 'Agent deleted successfully and ticket assigned to another agent', ];