From 7b34ddd70c4db364428bc12baebbac707bd53c67 Mon Sep 17 00:00:00 2001 From: caoqianming Date: Sat, 19 Oct 2024 21:00:43 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E7=B3=BB=E7=BB=9F=E5=88=9D=E5=A7=8B?= =?UTF-8?q?=E5=8C=96=E6=97=B6=E4=B8=8D=E5=BF=85=E8=8E=B7=E5=8F=96=E5=85=A8?= =?UTF-8?q?=E9=83=A8=E6=9D=83=E9=99=90=E6=A0=87=E8=AF=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/system/apps.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/apps/system/apps.py b/apps/system/apps.py index bf6e73d0..59d27b05 100755 --- a/apps/system/apps.py +++ b/apps/system/apps.py @@ -12,10 +12,4 @@ class SystemConfig(AppConfig): from server.settings import get_sysconfig get_sysconfig(reload=True) cache.set('cache_sysconfig_need_task', False, timeout=30) - - if cache.get('cache_alldperms_task', True): - from apps.utils.permission import get_alld_perms - get_alld_perms(update_cache=True) - cache.set('cache_alldperms_task', False, timeout=30) - return super().ready()