mirror of
https://github.com/gitbucket/gitbucket.git
synced 2025-11-07 14:05:52 +01:00
Resurrect ActivityComponent for binary compatibility in 4.35.1 (#2612)
This commit is contained in:
@@ -1,19 +1,19 @@
|
|||||||
package gitbucket.core.model
|
package gitbucket.core.model
|
||||||
|
|
||||||
// /**
|
/**
|
||||||
// * ActivityComponent has been deprecated, but keep it for binary compatibility.
|
* ActivityComponent has been deprecated, but keep it for binary compatibility.
|
||||||
// */
|
*/
|
||||||
// @deprecated("ActivityComponent has been deprecated, but keep it for binary compatibility.", "4.34.0")
|
@deprecated("ActivityComponent has been deprecated, but keep it for binary compatibility.", "4.34.0")
|
||||||
// trait ActivityComponent extends TemplateComponent { self: Profile =>
|
trait ActivityComponent extends TemplateComponent { self: Profile =>
|
||||||
// import profile.api._
|
import profile.api._
|
||||||
// import self._
|
import self._
|
||||||
|
|
||||||
// lazy val Activities = TableQuery[Activities]
|
lazy val Activities = TableQuery[Activities]
|
||||||
|
|
||||||
// class Activities(tag: Tag) extends Table[Activity](tag, "ACTIVITY") with BasicTemplate {
|
class Activities(tag: Tag) extends Table[Activity](tag, "ACTIVITY") with BasicTemplate {
|
||||||
// def * = ???
|
def * = ???
|
||||||
// }
|
}
|
||||||
// }
|
}
|
||||||
|
|
||||||
case class Activity(
|
case class Activity(
|
||||||
userName: String,
|
userName: String,
|
||||||
|
|||||||
@@ -45,6 +45,7 @@ trait CoreProfile
|
|||||||
with Profile
|
with Profile
|
||||||
with AccessTokenComponent
|
with AccessTokenComponent
|
||||||
with AccountComponent
|
with AccountComponent
|
||||||
|
with ActivityComponent
|
||||||
with CollaboratorComponent
|
with CollaboratorComponent
|
||||||
with CommitCommentComponent
|
with CommitCommentComponent
|
||||||
with CommitStatusComponent
|
with CommitStatusComponent
|
||||||
|
|||||||
Reference in New Issue
Block a user