From c61c38a6b09a6cb9c8d7343b5ee7dbcbb502b1e8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Redrejo?= Date: Sat, 27 Jul 2024 20:19:48 +0200 Subject: [PATCH] set_as_super_user is a function param --- kolibri/plugins/user_profile/tasks.py | 1 - 1 file changed, 1 deletion(-) diff --git a/kolibri/plugins/user_profile/tasks.py b/kolibri/plugins/user_profile/tasks.py index 1a4e8ccdba4..d51567d9c26 100644 --- a/kolibri/plugins/user_profile/tasks.py +++ b/kolibri/plugins/user_profile/tasks.py @@ -198,7 +198,6 @@ def mergeuser( pass # check if current user should be set as superuser: - set_as_super_user = kwargs.get("set_as_super_user") if set_as_super_user and local_user.is_superuser: DevicePermissions.objects.create( user=remote_user, is_superuser=True, can_manage_content=True