From 5cb9bdd6dd3c2eb10088e1ed59ca2a1385be281a Mon Sep 17 00:00:00 2001 From: prpr Date: Thu, 21 Apr 2022 17:58:44 +0100 Subject: [PATCH] Remove redundant calls --- webif/html/browse/enc.jim | 1 - webif/html/browse/lock.jim | 1 - webif/html/browse/new.jim | 1 - 3 files changed, 3 deletions(-) diff --git a/webif/html/browse/enc.jim b/webif/html/browse/enc.jim index 8869aa5..11877f6 100755 --- a/webif/html/browse/enc.jim +++ b/webif/html/browse/enc.jim @@ -7,7 +7,6 @@ require ts.class httpheader set file [cgi_get file] -set ts [ts fetch $file] if {[set ts [ts fetch $file]] != 0} { set action enc if {[$ts flag "Encrypted"]} { set action unenc } diff --git a/webif/html/browse/lock.jim b/webif/html/browse/lock.jim index 021de4b..37da1f6 100755 --- a/webif/html/browse/lock.jim +++ b/webif/html/browse/lock.jim @@ -7,7 +7,6 @@ require ts.class httpheader set file [cgi_get file ""] -set ts [ts fetch $file] if {[set ts [ts fetch $file]] != 0} { set action lock if {[$ts flag "Locked"]} { set action unlock } diff --git a/webif/html/browse/new.jim b/webif/html/browse/new.jim index ec0fbf0..047f5d2 100755 --- a/webif/html/browse/new.jim +++ b/webif/html/browse/new.jim @@ -7,7 +7,6 @@ require ts.class httpheader set file [cgi_get file] -set ts [ts fetch $file] if {[set ts [ts fetch $file]] != 0} { set action new if {[$ts flag "New"]} { set action watched }