mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-25 16:44:28 +00:00
- log eintrag hinzugefuegt, beim setzen auf park...
This commit is contained in:
@@ -30,14 +30,4 @@ class Rueckstellung_model extends DB_Model
|
||||
|
||||
return $this->loadWhere($where);
|
||||
}
|
||||
|
||||
public function set($person_id, $datum_bis, $status_kurzbz, $uid)
|
||||
{
|
||||
$exists = $this->getByPersonId($person_id, $status_kurzbz);
|
||||
|
||||
if (hasData($exists))
|
||||
return error("Rueckstellung entry already exists");
|
||||
|
||||
return $this->insert(array('person_id' => $person_id, 'status_kurzbz' => $status_kurzbz, 'datum_bis' => $datum_bis, 'insertvon' => $uid));
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user