MCPcopy Create free account
hub / github.com/acl-dev/acl / remove

Method remove

lib_acl_cpp/src/session/redis_session.cpp:148–157  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

146}
147
148bool redis_session::remove(void)
149{
150 const char* sid = get_sid();
151 if (sid == NULL || *sid == 0) {
152 return false;
153 }
154
155 command_->clear();
156 return command_->del(sid) >= 0 ? true : false;
157}
158
159bool redis_session::set_timeout(time_t ttl)
160{

Callers 1

delMethod · 0.45

Calls 3

get_sidFunction · 0.50
clearMethod · 0.45
delMethod · 0.45

Tested by

no test coverage detected