summaryrefslogtreecommitdiffstats
path: root/services/forms
diff options
context:
space:
mode:
Diffstat (limited to 'services/forms')
-rw-r--r--services/forms/admin.go3
-rw-r--r--services/forms/auth_form.go3
-rw-r--r--services/forms/org.go3
-rw-r--r--services/forms/repo_branch_form.go3
-rw-r--r--services/forms/repo_form.go3
-rw-r--r--services/forms/repo_form_test.go3
-rw-r--r--services/forms/repo_tag_form.go3
-rw-r--r--services/forms/user_form.go3
-rw-r--r--services/forms/user_form_auth_openid.go3
-rw-r--r--services/forms/user_form_hidden_comments.go3
-rw-r--r--services/forms/user_form_test.go3
11 files changed, 11 insertions, 22 deletions
diff --git a/services/forms/admin.go b/services/forms/admin.go
index 537b9f982c..a749f863f3 100644
--- a/services/forms/admin.go
+++ b/services/forms/admin.go
@@ -1,6 +1,5 @@
// Copyright 2014 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 forms
diff --git a/services/forms/auth_form.go b/services/forms/auth_form.go
index 7e7c756752..0cede07f95 100644
--- a/services/forms/auth_form.go
+++ b/services/forms/auth_form.go
@@ -1,6 +1,5 @@
// Copyright 2014 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 forms
diff --git a/services/forms/org.go b/services/forms/org.go
index c7ee911345..d753531371 100644
--- a/services/forms/org.go
+++ b/services/forms/org.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 forms
diff --git a/services/forms/repo_branch_form.go b/services/forms/repo_branch_form.go
index 011926092f..bf1183fc43 100644
--- a/services/forms/repo_branch_form.go
+++ b/services/forms/repo_branch_form.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 forms
diff --git a/services/forms/repo_form.go b/services/forms/repo_form.go
index 64f47aadd5..d4fb051d8d 100644
--- a/services/forms/repo_form.go
+++ b/services/forms/repo_form.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 forms
diff --git a/services/forms/repo_form_test.go b/services/forms/repo_form_test.go
index 198437f7ea..2c5a8e2c0f 100644
--- a/services/forms/repo_form_test.go
+++ b/services/forms/repo_form_test.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 forms
diff --git a/services/forms/repo_tag_form.go b/services/forms/repo_tag_form.go
index 337e7fe1ea..1209d2346f 100644
--- a/services/forms/repo_tag_form.go
+++ b/services/forms/repo_tag_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 forms
diff --git a/services/forms/user_form.go b/services/forms/user_form.go
index da30ae94d6..cd2c45261b 100644
--- a/services/forms/user_form.go
+++ b/services/forms/user_form.go
@@ -1,7 +1,6 @@
// Copyright 2014 The Gogs Authors. All rights reserved.
// 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 forms
diff --git a/services/forms/user_form_auth_openid.go b/services/forms/user_form_auth_openid.go
index 459c938f08..f95eb98405 100644
--- a/services/forms/user_form_auth_openid.go
+++ b/services/forms/user_form_auth_openid.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 forms
diff --git a/services/forms/user_form_hidden_comments.go b/services/forms/user_form_hidden_comments.go
index 35c1a6dd2a..7eb800a020 100644
--- a/services/forms/user_form_hidden_comments.go
+++ b/services/forms/user_form_hidden_comments.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 forms
diff --git a/services/forms/user_form_test.go b/services/forms/user_form_test.go
index 9f67143d12..463b39d0bf 100644
--- a/services/forms/user_form_test.go
+++ b/services/forms/user_form_test.go
@@ -1,6 +1,5 @@
// Copyright 2018 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 forms