);
$this->conn->delete('*PREFIX*preferences', $where);
- if (isset($this->cache[$user]) and isset($this->cache[$user][$app]) and isset($this->cache[$user][$app][$key])) {
+ if (isset($this->cache[$user]) and isset($this->cache[$user][$app])) {
unset($this->cache[$user][$app][$key]);
}
}
);
$this->conn->delete('*PREFIX*preferences', $where);
- if (isset($this->cache[$user]) and isset($this->cache[$user][$app])) {
+ if (isset($this->cache[$user])) {
unset($this->cache[$user][$app]);
}
}
);
$this->conn->delete('*PREFIX*preferences', $where);
- if (isset($this->cache[$user])) {
- unset($this->cache[$user]);
- }
+ unset($this->cache[$user]);
}
/**