/**
 * Callback to destroy a session when calling session_destroy().
 *
 * @param $id String: session id
 * @return Boolean: success
 */
function memsess_destroy($id)
{
    $memc =& getMemc();
    $memc->delete(memsess_key($id));
    wfDebug(sprintf("%s[%s]\n", __METHOD__, $id));
    return true;
}
/**
 * Callback to destroy a session when calling session_destroy().
 *
 * @param $id String: session id
 * @return Boolean: success
 */
function memsess_destroy($id)
{
    $memc =& getMemc();
    $memc->delete(memsess_key($id));
    return true;
}