summaryrefslogtreecommitdiffstats
path: root/utils
diff options
context:
space:
mode:
Diffstat (limited to 'utils')
-rw-r--r--utils/config.go2
-rw-r--r--utils/lru.go8
-rw-r--r--utils/lru_test.go8
3 files changed, 13 insertions, 5 deletions
diff --git a/utils/config.go b/utils/config.go
index 6a7e4589c..eb2ae3050 100644
--- a/utils/config.go
+++ b/utils/config.go
@@ -98,7 +98,7 @@ type PrivacySettings struct {
type TeamSettings struct {
MaxUsersPerTeam int
AllowPublicLink bool
- AllowValet bool
+ AllowValetDefault bool
TermsLink string
PrivacyLink string
AboutLink string
diff --git a/utils/lru.go b/utils/lru.go
index 9e47c3de3..61a515e14 100644
--- a/utils/lru.go
+++ b/utils/lru.go
@@ -1,5 +1,9 @@
-// Copyright (c) 2015 Spinpunch, Inc. All Rights Reserved.
-// See License.txt for license information.
+// This files was copied/modified from https://github.com/hashicorp/golang-lru
+// which was (see below)
+
+// This package provides a simple LRU cache. It is based on the
+// LRU implementation in groupcache:
+// https://github.com/golang/groupcache/tree/master/lru
package utils
diff --git a/utils/lru_test.go b/utils/lru_test.go
index e26af032f..3255f5c1a 100644
--- a/utils/lru_test.go
+++ b/utils/lru_test.go
@@ -1,5 +1,9 @@
-// Copyright (c) 2015 Spinpunch, Inc. All Rights Reserved.
-// See License.txt for license information.
+// This files was copied/modified from https://github.com/hashicorp/golang-lru
+// which was (see below)
+
+// This package provides a simple LRU cache. It is based on the
+// LRU implementation in groupcache:
+// https://github.com/golang/groupcache/tree/master/lru
package utils