From f3ae7a956df766a50a10e9a0eb561711336ae243 Mon Sep 17 00:00:00 2001 From: brocasm <56800814+brocasm@users.noreply.github.com> Date: Sat, 20 May 2023 16:10:17 +0200 Subject: [PATCH] Update alerts.py remove deprecated providing_args providing_args is deprecated in Django 3.1 and removed with Django 4.0 --- nextcloud/models/alerts.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/nextcloud/models/alerts.py b/nextcloud/models/alerts.py index 058a4eb..9a1583e 100644 --- a/nextcloud/models/alerts.py +++ b/nextcloud/models/alerts.py @@ -4,9 +4,9 @@ logger = logging.getLogger(__name__) -new_membership = Signal(providing_args=["user"]) -ending_membership = Signal(providing_args=["user"]) -changing_membership_password = Signal(providing_args=["user", "password"]) +new_membership = Signal(Signal("user")) +ending_membership = Signal(Signal("user")) +changing_membership_password = Signal(["user", "password"]) class MemberAlertManager: