smart menu things
All checks were successful
Build and push / Pulling repo on server (push) Successful in 2s

This commit is contained in:
2023-10-23 14:36:28 +02:00
parent 88ec74af75
commit 9f3aab4033
5 changed files with 66 additions and 27 deletions

View File

@ -199,6 +199,11 @@ class Model {
return true;
}
function exists($id)
{
return $GLOBALS['redis']->exists($this->dbTable.':'.$id);
}
function delete()
{
return $GLOBALS['redis']->del($this->dbTable.':'.$this->id);