refactor(backups): delete legacy provider setting

This commit is contained in:
Houkime 2023-06-19 11:17:09 +00:00 committed by Inex Code
parent 9f096ed2c0
commit f829a34dc7

View file

@ -41,9 +41,6 @@ class Backups:
provider = ProviderClass(login="", key="", location=file_path, repo_id="")
Storage.store_provider(provider)
def set_provider(provider: AbstractBackupProvider):
Storage.store_provider(provider)
@staticmethod
def get_last_backed_up(service: Service) -> Optional[datetime]:
"""Get a timezone-aware time of the last backup of a service"""