mirror of
https://github.com/inventree/InvenTree.git
synced 2026-11-23 08:16:14 +00:00
bug fix : correct setting name when changing a 'requires restart' setting
This commit is contained in:
1 parent
0ab9b2dbc7
commit
ff598a22ff
1 file changed
+1
-1
@@ -571,7 +571,7 @@ class InvenTreeSetting(BaseInvenTreeSetting):
|
|||||||
super().save()
|
super().save()
|
||||||
|
|
||||||
if self.requires_restart():
|
if self.requires_restart():
|
||||||
InvenTreeSetting.set_setting('SERVER_REQUIRES_RESTART', True, None)
|
InvenTreeSetting.set_setting('SERVER_RESTART_REQUIRED', True, None)
|
||||||
|
|
||||||
"""
|
"""
|
||||||
Dict of all global settings values:
|
Dict of all global settings values:
|
||||||
|
|||||||
Reference in new issue
Block a user