[Zones] Convert Get/Set of Zone Timezone to Repositories (#3946)

* [Zones] Convert Get/Set of Zone Timezone to Repositories

- Convert `GetZoneTimezone()` and `SetZoneTimeZone()` to repositories.

* Update time_zone.cpp
This commit is contained in:
Alex King
2024-01-13 01:10:14 -05:00
committed by GitHub
parent 73a099c5ea
commit d41bd8f963
5 changed files with 41 additions and 42 deletions
+2 -2
View File
@@ -627,8 +627,8 @@ public:
bool SetTrapData(Trap* trap, bool repopnow = false);
/* Time */
uint32 GetZoneTZ(uint32 zoneid, uint32 version);
bool SetZoneTZ(uint32 zoneid, uint32 version, uint32 tz);
uint32 GetZoneTimezone(uint32 zoneid, uint32 version);
bool SetZoneTimezone(uint32 zoneid, uint32 version, uint32 tz);
/* Group */
void RefreshGroupFromDB(Client *c);