mirror of
https://salsa.debian.org/dskoll/remind.git
synced 2026-04-16 06:18:47 +02:00
Use PUSH-VARS/POP-VARS to preserve state.
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
if !defined("__autolang__")
|
||||
SET __autolang__ 1
|
||||
PRESERVE __autolang__
|
||||
PUSH-VARS autolang
|
||||
SET autolang getenv("REMIND_LANG")
|
||||
|
||||
IF autolang == ""
|
||||
@@ -23,6 +24,6 @@ if !defined("__autolang__")
|
||||
ENDIF
|
||||
ENDIF
|
||||
ENDIF
|
||||
UNSET autolang
|
||||
POP-VARS
|
||||
ENDIF
|
||||
|
||||
|
||||
Reference in New Issue
Block a user