/**
  * {@inheritDoc}
  */
 public function gc($max_lifetime)
 {
     global $CONFIG;
     $life = time() - $max_lifetime;
     $query = "DELETE FROM {$CONFIG->dbprefix}users_sessions WHERE ts < '{$life}'";
     return (bool) $this->db->deleteData($query);
 }
 /**
  * {@inheritDoc}
  */
 public function gc($max_lifetime)
 {
     $life = time() - $max_lifetime;
     $query = "DELETE FROM {$this->db->getTablePrefix()}users_sessions WHERE ts < '{$life}'";
     return (bool) $this->db->deleteData($query);
 }