refactor and errors
This commit is contained in:
@@ -65,6 +65,10 @@ class ActionModel
|
||||
Db::sql('delete from actions where uid = ? and vals = ?', [$this->uid, $vals]);
|
||||
}
|
||||
|
||||
public static function deleteById(int $id): void
|
||||
{
|
||||
Db::sql('delete from actions where id = ?', [$id]);
|
||||
}
|
||||
|
||||
/*protected function testAction($filter, $tp): array
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user