mirror of
https://github.com/ansible/awx.git
synced 2026-01-22 23:18:03 -03:30
Removing unneeded function
This commit is contained in:
parent
0b63af8d4d
commit
62dabcae63
@ -97,15 +97,6 @@ class Schedule(PrimordialModel, LaunchTimeConfig):
|
||||
return_val['links'][zone_name] = zone_instance.zones[zone_name]._filename
|
||||
return return_val
|
||||
|
||||
@classmethod
|
||||
def get_linked_timezone(self, timezone_name):
|
||||
# Returns two values:
|
||||
# A boolean True means its linked, false means its not a linked timezone
|
||||
# The name of the link (or the same name if its not a link)
|
||||
zone_instance = get_zonefile_instance()
|
||||
file_name = zone_instance.zones[timezone_name]._filename
|
||||
return file_name != timezone_name, file_name
|
||||
|
||||
@property
|
||||
def timezone(self):
|
||||
utc = tzutc()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user