updates for Arindam's bug fix commit
This commit is contained in:
@@ -491,7 +491,7 @@ class UserController extends Controller
|
|||||||
$user = User::find($id);
|
$user = User::find($id);
|
||||||
$user->delete();
|
$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)) {
|
if (User_org::where('user_id', '=', $id)) {
|
||||||
DB::table('user_assign_organization')->where('user_id', '=', $id)->delete();
|
DB::table('user_assign_organization')->where('user_id', '=', $id)->delete();
|
||||||
|
@@ -1528,6 +1528,6 @@ return [
|
|||||||
'user_delete_successfully' => 'User deleted successfully',
|
'user_delete_successfully' => 'User deleted successfully',
|
||||||
'agent_delete_successfully' => 'Agent deleted successfully',
|
'agent_delete_successfully' => 'Agent deleted successfully',
|
||||||
'select_another_agent' => 'Select another agent',
|
'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',
|
||||||
|
|
||||||
];
|
];
|
||||||
|
Reference in New Issue
Block a user