summaryrefslogtreecommitdiff
path: root/exports/exports.go
diff options
context:
space:
mode:
authorjwijenbergh <jeroenwijenbergh@protonmail.com>2023-03-20 18:39:08 +0100
committerJeroen Wijenbergh <46386452+jwijenbergh@users.noreply.github.com>2023-09-25 09:43:37 +0200
commit8efa7aa299b0488ae4439906482b75df0fb00cc7 (patch)
tree2b740391aafc582b6bd2e5401a9ae35e3dae9981 /exports/exports.go
parent1f599f1aab37343ff61852a8616c640310dfaee4 (diff)
Exports + Python + Server: Remove ShouldRenewButton
This is replace with expiry times
Diffstat (limited to 'exports/exports.go')
-rw-r--r--exports/exports.go13
1 files changed, 0 insertions, 13 deletions
diff --git a/exports/exports.go b/exports/exports.go
index fe7581e..724185a 100644
--- a/exports/exports.go
+++ b/exports/exports.go
@@ -361,19 +361,6 @@ func RenewSession() *C.char {
return getCError(renewSessionErr)
}
-//export ShouldRenewButton
-func ShouldRenewButton() C.int {
- state, stateErr := getVPNState()
- if stateErr != nil {
- return C.int(0)
- }
- shouldRenewBool := state.ShouldRenewButton()
- if shouldRenewBool {
- return C.int(1)
- }
- return C.int(0)
-}
-
//export SetSupportWireguard
func SetSupportWireguard(support C.int) *C.char {
state, stateErr := getVPNState()