removed dangerous function call
This commit is contained in:
parent
0af8d23970
commit
17d20536d6
@ -58,7 +58,6 @@ final class DifficultyModel
|
||||
public static function deleteByID($I_id)
|
||||
{
|
||||
$O_model = Model::get();
|
||||
UserModel::anonymiseByID($I_id);
|
||||
$stmt = $O_model->prepare("DELETE FROM DIFFICULTY WHERE ID=:id");
|
||||
$stmt->bindParam("id", $I_id);
|
||||
$stmt->execute();
|
||||
|
Loading…
Reference in New Issue
Block a user