refactor and errors
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user