Remove unused variable

refs #10563
This commit is contained in:
Gunnar Beutner 2015-11-08 17:53:22 +01:00
parent 1d2606cbfe
commit f8399e45db
1 changed files with 1 additions and 2 deletions

View File

@ -81,8 +81,7 @@ bool ConsoleHandler::HandleRequest(const ApiUser::Ptr& user, HttpRequest& reques
String methodName = request.RequestUrl->GetPath()[2];
String permission = "console";
FilterUtility::CheckPermission(user, permission);
FilterUtility::CheckPermission(user, "console");
String session = HttpUtility::GetLastParameter(params, "session");