diff --git a/selfprivacy_api/migrations/add_roundcube.py b/selfprivacy_api/migrations/add_roundcube.py index 3c422c2..68505ea 100644 --- a/selfprivacy_api/migrations/add_roundcube.py +++ b/selfprivacy_api/migrations/add_roundcube.py @@ -17,9 +17,6 @@ class AddRoundcube(Migration): with FlakeServiceManager() as manager: if "roundcube" not in manager.services: return True - with ReadUserData() as data: - if "roundcube" not in data["modules"]: - return True return False def migrate(self) -> None: @@ -28,9 +25,3 @@ class AddRoundcube(Migration): manager.services[ "roundcube" ] = "git+https://git.selfprivacy.org/SelfPrivacy/selfprivacy-nixos-config.git?ref=flakes&dir=sp-modules/roundcube" - with WriteUserData() as data: - if "roundcube" not in data["modules"]: - data["modules"]["roundcube"] = { - "enable": False, - "subdomain": "roundcube", - }