Fixing the ability to delete users.

This commit is contained in:
Dan Cryer 2014-07-31 12:10:34 +01:00
parent e10901bf1d
commit cd5d28f7e8

View file

@ -254,7 +254,7 @@ class UserController extends Controller
throw new NotFoundException('User with ID: ' . $userId . ' does not exist.');
}
$this->userService->delete($user);
$this->userService->deleteUser($user);
header('Location: '.PHPCI_URL.'user');
die;