Merge pull request #1423 from thehereward/develop

TidyUp: Remove unreachable code.
This commit is contained in:
snipe
2015-12-29 10:15:36 -08:00
4 changed files with 4 additions and 1 deletions
@@ -587,6 +587,7 @@ class UsersController extends AdminController {
return Redirect::route('users')->with('error', 'Bulk delete is not enabled in this installation');
}
/** @noinspection PhpUnreachableStatementInspection Known to be unreachable but kept following discussion: https://github.com/snipe/snipe-it/pull/1423 */
return Redirect::route('users')->with('error', 'An error has occurred');
}
}