mirror of
https://git.selfprivacy.org/SelfPrivacy/selfprivacy-rest-api.git
synced 2024-11-05 02:53:11 +00:00
refactor(backups): delete legacy provider setting
This commit is contained in:
parent
9f096ed2c0
commit
f829a34dc7
|
@ -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"""
|
||||
|
|
Loading…
Reference in a new issue