aboutsummaryrefslogtreecommitdiffstats
path: root/src/main.cpp
diff options
context:
space:
mode:
authorKazumasa Mitsunari <knimitz@witz-inc.co.jp>2018-11-15 19:32:39 +0900
committerKazumasa Mitsunari <knimitz@witz-inc.co.jp>2018-11-20 18:28:14 +0900
commit671b366ab609ccd58456e8debf0a20e46315b3e6 (patch)
treeaa861eef0f3dc80edcb2a7bf4f77ba31c6688925 /src/main.cpp
parentd6ead3bf3ad3f971aa48602d7ce5f8eab20aff3c (diff)
Clean: Remove conversion table from old roleguppy_6.99.1guppy/6.99.16.99.1
Stop compatibility support. Remove conversion table from old role. Bug-AGL: SPEC-1947 Change-Id: Idbb0717920c2f4a0c29bfb4356e1b167ac8bce0b Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/main.cpp b/src/main.cpp
index d0d7930..29d25fb 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -116,8 +116,7 @@ static void createSecurityContext(afb_req req, const char* appid, const char* ro
if (!ctxt)
{
// Create Security Context at first time
- const char *new_role = g_afb_instance->wmgr.convertRoleOldToNew(role);
- WMClientCtxt *ctxt = new WMClientCtxt(appid, new_role);
+ WMClientCtxt *ctxt = new WMClientCtxt(appid, role);
HMI_DEBUG("create session for %s", ctxt->name.c_str());
afb_req_session_set_LOA(req, 1);
afb_req_context_set(req, ctxt, cbRemoveClientCtxt);