summaryrefslogtreecommitdiffstats
path: root/routers/web/admin
diff options
context:
space:
mode:
Diffstat (limited to 'routers/web/admin')
-rw-r--r--routers/web/admin/admin.go3
-rw-r--r--routers/web/admin/admin_test.go3
-rw-r--r--routers/web/admin/applications.go3
-rw-r--r--routers/web/admin/auths.go3
-rw-r--r--routers/web/admin/config.go3
-rw-r--r--routers/web/admin/emails.go3
-rw-r--r--routers/web/admin/hooks.go3
-rw-r--r--routers/web/admin/main_test.go3
-rw-r--r--routers/web/admin/notice.go3
-rw-r--r--routers/web/admin/orgs.go3
-rw-r--r--routers/web/admin/packages.go3
-rw-r--r--routers/web/admin/repos.go3
-rw-r--r--routers/web/admin/users.go3
-rw-r--r--routers/web/admin/users_test.go3
14 files changed, 14 insertions, 28 deletions
diff --git a/routers/web/admin/admin.go b/routers/web/admin/admin.go
index d0664eb780..0a51000c70 100644
--- a/routers/web/admin/admin.go
+++ b/routers/web/admin/admin.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 admin
diff --git a/routers/web/admin/admin_test.go b/routers/web/admin/admin_test.go
index 1bc43998b2..2b65ab3ea3 100644
--- a/routers/web/admin/admin_test.go
+++ b/routers/web/admin/admin_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 admin
diff --git a/routers/web/admin/applications.go b/routers/web/admin/applications.go
index c7a9c3100f..745d17ff2a 100644
--- a/routers/web/admin/applications.go
+++ b/routers/web/admin/applications.go
@@ -1,6 +1,5 @@
// Copyright 2022 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 admin
diff --git a/routers/web/admin/auths.go b/routers/web/admin/auths.go
index 7ea8a52809..1bc166902c 100644
--- a/routers/web/admin/auths.go
+++ b/routers/web/admin/auths.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 admin
diff --git a/routers/web/admin/config.go b/routers/web/admin/config.go
index 792eec8d56..eaa02588ca 100644
--- a/routers/web/admin/config.go
+++ b/routers/web/admin/config.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 admin
diff --git a/routers/web/admin/emails.go b/routers/web/admin/emails.go
index 9482ae0123..c16158c6ae 100644
--- a/routers/web/admin/emails.go
+++ b/routers/web/admin/emails.go
@@ -1,6 +1,5 @@
// 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 admin
diff --git a/routers/web/admin/hooks.go b/routers/web/admin/hooks.go
index bf71cb5595..e8db9a3ded 100644
--- a/routers/web/admin/hooks.go
+++ b/routers/web/admin/hooks.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 admin
diff --git a/routers/web/admin/main_test.go b/routers/web/admin/main_test.go
index 4e6ad4d743..ea79830fa1 100644
--- a/routers/web/admin/main_test.go
+++ b/routers/web/admin/main_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 admin
diff --git a/routers/web/admin/notice.go b/routers/web/admin/notice.go
index f5ec294cc3..f60cf90b3c 100644
--- a/routers/web/admin/notice.go
+++ b/routers/web/admin/notice.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 admin
diff --git a/routers/web/admin/orgs.go b/routers/web/admin/orgs.go
index 6081ab9b1c..a4eb0af58d 100644
--- a/routers/web/admin/orgs.go
+++ b/routers/web/admin/orgs.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 admin
diff --git a/routers/web/admin/packages.go b/routers/web/admin/packages.go
index 5de8922e6f..80cec51275 100644
--- a/routers/web/admin/packages.go
+++ b/routers/web/admin/packages.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 admin
diff --git a/routers/web/admin/repos.go b/routers/web/admin/repos.go
index 17b00975ec..b488bbbd14 100644
--- a/routers/web/admin/repos.go
+++ b/routers/web/admin/repos.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 admin
diff --git a/routers/web/admin/users.go b/routers/web/admin/users.go
index 5cdfb8142e..399633e39f 100644
--- a/routers/web/admin/users.go
+++ b/routers/web/admin/users.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 admin
diff --git a/routers/web/admin/users_test.go b/routers/web/admin/users_test.go
index da67cd5cb4..ed58a54eef 100644
--- a/routers/web/admin/users_test.go
+++ b/routers/web/admin/users_test.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 admin