summaryrefslogtreecommitdiffstats
path: root/modules/context
diff options
context:
space:
mode:
Diffstat (limited to 'modules/context')
-rw-r--r--modules/context/access_log.go3
-rw-r--r--modules/context/api.go3
-rw-r--r--modules/context/api_org.go3
-rw-r--r--modules/context/api_test.go3
-rw-r--r--modules/context/auth.go3
-rw-r--r--modules/context/captcha.go3
-rw-r--r--modules/context/context.go3
-rw-r--r--modules/context/form.go3
-rw-r--r--modules/context/org.go3
-rw-r--r--modules/context/package.go3
-rw-r--r--modules/context/pagination.go3
-rw-r--r--modules/context/permission.go3
-rw-r--r--modules/context/private.go3
-rw-r--r--modules/context/repo.go3
-rw-r--r--modules/context/response.go3
-rw-r--r--modules/context/utils.go3
16 files changed, 16 insertions, 32 deletions
diff --git a/modules/context/access_log.go b/modules/context/access_log.go
index 1a10c4763a..05c0f86218 100644
--- a/modules/context/access_log.go
+++ b/modules/context/access_log.go
@@ -1,6 +1,5 @@
// Copyright 2020 The Gitea Authors. All rights reserved.
-// Use of this source code is governed by a MIT-style
-// license that can be found in the LICENSE file.
+// SPDX-License-Identifier: MIT
package context
diff --git a/modules/context/api.go b/modules/context/api.go
index b9d130e2a8..f49997a787 100644
--- a/modules/context/api.go
+++ b/modules/context/api.go
@@ -1,7 +1,6 @@
// Copyright 2016 The Gogs Authors. All rights reserved.
// Copyright 2019 The Gitea Authors. All rights reserved.
-// Use of this source code is governed by a MIT-style
-// license that can be found in the LICENSE file.
+// SPDX-License-Identifier: MIT
package context
diff --git a/modules/context/api_org.go b/modules/context/api_org.go
index 2231677d42..dad02b1719 100644
--- a/modules/context/api_org.go
+++ b/modules/context/api_org.go
@@ -1,6 +1,5 @@
// Copyright 2016 The Gogs Authors. All rights reserved.
-// Use of this source code is governed by a MIT-style
-// license that can be found in the LICENSE file.
+// SPDX-License-Identifier: MIT
package context
diff --git a/modules/context/api_test.go b/modules/context/api_test.go
index 323fdbd2cc..911a49949e 100644
--- a/modules/context/api_test.go
+++ b/modules/context/api_test.go
@@ -1,6 +1,5 @@
// Copyright 2019 The Gitea Authors. All rights reserved.
-// Use of this source code is governed by a MIT-style
-// license that can be found in the LICENSE file.
+// SPDX-License-Identifier: MIT
package context
diff --git a/modules/context/auth.go b/modules/context/auth.go
index e6d882eb5b..7cc29debbd 100644
--- a/modules/context/auth.go
+++ b/modules/context/auth.go
@@ -1,7 +1,6 @@
// Copyright 2014 The Gogs Authors. All rights reserved.
// Copyright 2019 The Gitea Authors. All rights reserved.
-// Use of this source code is governed by a MIT-style
-// license that can be found in the LICENSE file.
+// SPDX-License-Identifier: MIT
package context
diff --git a/modules/context/captcha.go b/modules/context/captcha.go
index 0bd003da6c..735613504c 100644
--- a/modules/context/captcha.go
+++ b/modules/context/captcha.go
@@ -1,6 +1,5 @@
// Copyright 2020 The Gitea Authors. All rights reserved.
-// Use of this source code is governed by a MIT-style
-// license that can be found in the LICENSE file.
+// SPDX-License-Identifier: MIT
package context
diff --git a/modules/context/context.go b/modules/context/context.go
index 47368bb280..0d632b67c0 100644
--- a/modules/context/context.go
+++ b/modules/context/context.go
@@ -1,7 +1,6 @@
// Copyright 2014 The Gogs Authors. All rights reserved.
// Copyright 2020 The Gitea Authors. All rights reserved.
-// Use of this source code is governed by a MIT-style
-// license that can be found in the LICENSE file.
+// SPDX-License-Identifier: MIT
package context
diff --git a/modules/context/form.go b/modules/context/form.go
index 4f48d746b9..f9c4ab6a98 100644
--- a/modules/context/form.go
+++ b/modules/context/form.go
@@ -1,6 +1,5 @@
// Copyright 2021 The Gitea Authors. All rights reserved.
-// Use of this source code is governed by a MIT-style
-// license that can be found in the LICENSE file.
+// SPDX-License-Identifier: MIT
package context
diff --git a/modules/context/org.go b/modules/context/org.go
index 89260b8654..39df29a860 100644
--- a/modules/context/org.go
+++ b/modules/context/org.go
@@ -1,7 +1,6 @@
// Copyright 2014 The Gogs Authors. All rights reserved.
// Copyright 2020 The Gitea Authors.
-// Use of this source code is governed by a MIT-style
-// license that can be found in the LICENSE file.
+// SPDX-License-Identifier: MIT
package context
diff --git a/modules/context/package.go b/modules/context/package.go
index ce0f9a511b..65a9d74b77 100644
--- a/modules/context/package.go
+++ b/modules/context/package.go
@@ -1,6 +1,5 @@
// Copyright 2021 The Gitea Authors. All rights reserved.
-// Use of this source code is governed by a MIT-style
-// license that can be found in the LICENSE file.
+// SPDX-License-Identifier: MIT
package context
diff --git a/modules/context/pagination.go b/modules/context/pagination.go
index 617b472f0d..3effd88f10 100644
--- a/modules/context/pagination.go
+++ b/modules/context/pagination.go
@@ -1,6 +1,5 @@
// Copyright 2019 The Gitea Authors. All rights reserved.
-// Use of this source code is governed by a MIT-style
-// license that can be found in the LICENSE file.
+// SPDX-License-Identifier: MIT
package context
diff --git a/modules/context/permission.go b/modules/context/permission.go
index fd2263c75f..8cb5d09eb9 100644
--- a/modules/context/permission.go
+++ b/modules/context/permission.go
@@ -1,6 +1,5 @@
// Copyright 2018 The Gitea Authors. All rights reserved.
-// Use of this source code is governed by a MIT-style
-// license that can be found in the LICENSE file.
+// SPDX-License-Identifier: MIT
package context
diff --git a/modules/context/private.go b/modules/context/private.go
index 9e7977b5d5..24f50fa471 100644
--- a/modules/context/private.go
+++ b/modules/context/private.go
@@ -1,6 +1,5 @@
// Copyright 2020 The Gitea Authors. All rights reserved.
-// Use of this source code is governed by a MIT-style
-// license that can be found in the LICENSE file.
+// SPDX-License-Identifier: MIT
package context
diff --git a/modules/context/repo.go b/modules/context/repo.go
index 1a83c49e95..57cf2fae5a 100644
--- a/modules/context/repo.go
+++ b/modules/context/repo.go
@@ -1,7 +1,6 @@
// Copyright 2014 The Gogs Authors. All rights reserved.
// Copyright 2017 The Gitea Authors. All rights reserved.
-// Use of this source code is governed by a MIT-style
-// license that can be found in the LICENSE file.
+// SPDX-License-Identifier: MIT
package context
diff --git a/modules/context/response.go b/modules/context/response.go
index 112964dbe1..40eb5c0d35 100644
--- a/modules/context/response.go
+++ b/modules/context/response.go
@@ -1,6 +1,5 @@
// Copyright 2021 The Gitea Authors. All rights reserved.
-// Use of this source code is governed by a MIT-style
-// license that can be found in the LICENSE file.
+// SPDX-License-Identifier: MIT
package context
diff --git a/modules/context/utils.go b/modules/context/utils.go
index a72c8b47e6..1fa99953a2 100644
--- a/modules/context/utils.go
+++ b/modules/context/utils.go
@@ -1,6 +1,5 @@
// Copyright 2017 The Gitea Authors. All rights reserved.
-// Use of this source code is governed by a MIT-style
-// license that can be found in the LICENSE file.
+// SPDX-License-Identifier: MIT
package context