remove duplicate method

This commit is contained in:
2025-08-23 20:35:58 +02:00
parent b62c89b749
commit abe480d007

View File

@ -604,13 +604,6 @@ class OngekiStaticData(BaseData):
return None
return result.fetchall()
async def get_opts(self) -> Optional[List[Row]]:
result = await self.execute(opts.select())
if result is None:
return None
return result.fetchall()
async def set_opt_enabled(self, opt_id: int, enabled: bool) -> bool:
result = await self.execute(opts.update(opts.c.id == opt_id).values(isEnable=enabled))