summaryrefslogtreecommitdiffstats
path: root/models/activities
diff options
context:
space:
mode:
Diffstat (limited to 'models/activities')
-rw-r--r--models/activities/action.go3
-rw-r--r--models/activities/action_list.go3
-rw-r--r--models/activities/action_test.go3
-rw-r--r--models/activities/main_test.go3
-rw-r--r--models/activities/notification.go3
-rw-r--r--models/activities/notification_test.go3
-rw-r--r--models/activities/repo_activity.go3
-rw-r--r--models/activities/statistic.go3
-rw-r--r--models/activities/user_heatmap.go3
-rw-r--r--models/activities/user_heatmap_test.go3
10 files changed, 10 insertions, 20 deletions
diff --git a/models/activities/action.go b/models/activities/action.go
index bbb6073265..80c117dc95 100644
--- a/models/activities/action.go
+++ b/models/activities/action.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 activities
diff --git a/models/activities/action_list.go b/models/activities/action_list.go
index 86aa8689e2..0979434f76 100644
--- a/models/activities/action_list.go
+++ b/models/activities/action_list.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 activities
diff --git a/models/activities/action_test.go b/models/activities/action_test.go
index b79eb0d08d..29312bd482 100644
--- a/models/activities/action_test.go
+++ b/models/activities/action_test.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 activities_test
diff --git a/models/activities/main_test.go b/models/activities/main_test.go
index 0a87f47600..a8740f53c4 100644
--- a/models/activities/main_test.go
+++ b/models/activities/main_test.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 activities_test
diff --git a/models/activities/notification.go b/models/activities/notification.go
index 10b3a76713..9aa4b87628 100644
--- a/models/activities/notification.go
+++ b/models/activities/notification.go
@@ -1,6 +1,5 @@
// Copyright 2016 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 activities
diff --git a/models/activities/notification_test.go b/models/activities/notification_test.go
index d871891001..36b63b266b 100644
--- a/models/activities/notification_test.go
+++ b/models/activities/notification_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 activities_test
diff --git a/models/activities/repo_activity.go b/models/activities/repo_activity.go
index 4c8aa7e81d..9018276c3a 100644
--- a/models/activities/repo_activity.go
+++ b/models/activities/repo_activity.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 activities
diff --git a/models/activities/statistic.go b/models/activities/statistic.go
index ea785a3ee2..138f4d8fe9 100644
--- a/models/activities/statistic.go
+++ b/models/activities/statistic.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 activities
diff --git a/models/activities/user_heatmap.go b/models/activities/user_heatmap.go
index 6e76be6c6b..3370103a55 100644
--- a/models/activities/user_heatmap.go
+++ b/models/activities/user_heatmap.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.package models
+// SPDX-License-Identifier: MIT
package activities
diff --git a/models/activities/user_heatmap_test.go b/models/activities/user_heatmap_test.go
index a8a240f790..34715ab6dd 100644
--- a/models/activities/user_heatmap_test.go
+++ b/models/activities/user_heatmap_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.package models
+// SPDX-License-Identifier: MIT
package activities_test