mirror of
https://github.com/RaspbianFrance/raspisms.git
synced 2025-06-06 06:46:25 +02:00
Add a test adapter and add deletion of sendeds scheduled sms
This commit is contained in:
parent
99cdf6516a
commit
9eb701ba98
8 changed files with 134 additions and 12 deletions
|
@ -121,6 +121,17 @@ namespace models;
|
|||
{
|
||||
return $this->_delete($this->get_table_name(), ['id_user' => $id_user, 'id' => $id]);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Delete a entry by his id
|
||||
* @param int $id : Entry id
|
||||
* @return int : Number of removed rows
|
||||
*/
|
||||
public function delete(int $id)
|
||||
{
|
||||
return $this->_delete($this->get_table_name(), ['id' => $id]);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue