aboutsummaryrefslogtreecommitdiffstats
path: root/modules/avatar
diff options
context:
space:
mode:
Diffstat (limited to 'modules/avatar')
-rw-r--r--modules/avatar/avatar.go3
-rw-r--r--modules/avatar/avatar_test.go3
-rw-r--r--modules/avatar/identicon/block.go3
-rw-r--r--modules/avatar/identicon/colors.go3
-rw-r--r--modules/avatar/identicon/identicon.go3
-rw-r--r--modules/avatar/identicon/identicon_test.go3
-rw-r--r--modules/avatar/identicon/polygon.go3
7 files changed, 7 insertions, 14 deletions
diff --git a/modules/avatar/avatar.go b/modules/avatar/avatar.go
index 2de77de009..9ee926b059 100644
--- a/modules/avatar/avatar.go
+++ b/modules/avatar/avatar.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 avatar
diff --git a/modules/avatar/avatar_test.go b/modules/avatar/avatar_test.go
index a2acc54438..5ef4ed379b 100644
--- a/modules/avatar/avatar_test.go
+++ b/modules/avatar/avatar_test.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 avatar
diff --git a/modules/avatar/identicon/block.go b/modules/avatar/identicon/block.go
index 270f05e1b0..cb1803a231 100644
--- a/modules/avatar/identicon/block.go
+++ b/modules/avatar/identicon/block.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
// Copied and modified from https://github.com/issue9/identicon/ (MIT License)
diff --git a/modules/avatar/identicon/colors.go b/modules/avatar/identicon/colors.go
index a8d7090369..09a98bd0e9 100644
--- a/modules/avatar/identicon/colors.go
+++ b/modules/avatar/identicon/colors.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 identicon
diff --git a/modules/avatar/identicon/identicon.go b/modules/avatar/identicon/identicon.go
index cc7e2a791d..63926d5f19 100644
--- a/modules/avatar/identicon/identicon.go
+++ b/modules/avatar/identicon/identicon.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
// Copied and modified from https://github.com/issue9/identicon/ (MIT License)
// Generate pseudo-random avatars by IP, E-mail, etc.
diff --git a/modules/avatar/identicon/identicon_test.go b/modules/avatar/identicon/identicon_test.go
index 44635fbb3b..23bcc73e2e 100644
--- a/modules/avatar/identicon/identicon_test.go
+++ b/modules/avatar/identicon/identicon_test.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
//go:build test_avatar_identicon
diff --git a/modules/avatar/identicon/polygon.go b/modules/avatar/identicon/polygon.go
index 88440633c2..ecfc179a5c 100644
--- a/modules/avatar/identicon/polygon.go
+++ b/modules/avatar/identicon/polygon.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
// Copied and modified from https://github.com/issue9/identicon/ (MIT License)