refactor and errors

This commit is contained in:
2023-11-05 04:46:07 +02:00
parent def933dca4
commit 3e753c8b93
125 changed files with 1353 additions and 1435 deletions
+2 -2
View File
@@ -118,9 +118,9 @@ insert into eff_users
return true;
}
public static function removeByEffectId(int $userId, int $overType): void
public static function removeByEffectId(int $userId, int $effectId): void
{
Db::sql('delete from eff_users where id_eff = ? and uid = ?', [$overType, $userId]);
Db::sql('delete from eff_users where id_eff = ? and uid = ?', [$effectId, $userId]);
}
public static function removeByOverType(int $userId, int $overType): void