[PR #2655] [MERGED] Replace deprecated Id method with ID #16526

Closed
opened 2025-11-02 12:12:41 -06:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/go-gitea/gitea/pull/2655
Author: @ethantkoenig
Created: 10/4/2017
Status: Merged
Merged: 10/5/2017
Merged by: @lafriks

Base: masterHead: refactor/id


📝 Commits (2)

  • 02568ab Replace deprecated Id method with ID
  • 8ac185b Merge branch 'master' into refactor/id

📊 Changes

31 files changed (+84 additions, -84 deletions)

View changed files

📝 models/action_test.go (+2 -2)
📝 models/admin.go (+1 -1)
📝 models/branches.go (+1 -1)
📝 models/gpg_key.go (+1 -1)
📝 models/issue.go (+4 -4)
📝 models/issue_comment.go (+3 -3)
📝 models/issue_label.go (+2 -2)
📝 models/issue_milestone.go (+4 -4)
📝 models/issue_user.go (+1 -1)
📝 models/issue_watch.go (+1 -1)
📝 models/login_source.go (+5 -5)
📝 models/migrations/migrations.go (+2 -2)
📝 models/migrations/v28.go (+1 -1)
📝 models/migrations/v38.go (+1 -1)
📝 models/migrations/v39.go (+1 -1)
📝 models/models.go (+1 -1)
📝 models/notification.go (+3 -3)
📝 models/org.go (+3 -3)
📝 models/org_team.go (+10 -10)
📝 models/pull.go (+4 -4)

...and 11 more files

📄 Description

Replace deprecated xorm method .Id(..) with .ID(..). See https://godoc.org/github.com/go-xorm/xorm#Engine.Id, https://godoc.org/github.com/go-xorm/xorm#Session.Id


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/go-gitea/gitea/pull/2655 **Author:** [@ethantkoenig](https://github.com/ethantkoenig) **Created:** 10/4/2017 **Status:** ✅ Merged **Merged:** 10/5/2017 **Merged by:** [@lafriks](https://github.com/lafriks) **Base:** `master` ← **Head:** `refactor/id` --- ### 📝 Commits (2) - [`02568ab`](https://github.com/go-gitea/gitea/commit/02568aba2a0e47e27de80ec73b7c22082985f4a4) Replace deprecated Id method with ID - [`8ac185b`](https://github.com/go-gitea/gitea/commit/8ac185b039e7d87214b05801dee55f0478531b52) Merge branch 'master' into refactor/id ### 📊 Changes **31 files changed** (+84 additions, -84 deletions) <details> <summary>View changed files</summary> 📝 `models/action_test.go` (+2 -2) 📝 `models/admin.go` (+1 -1) 📝 `models/branches.go` (+1 -1) 📝 `models/gpg_key.go` (+1 -1) 📝 `models/issue.go` (+4 -4) 📝 `models/issue_comment.go` (+3 -3) 📝 `models/issue_label.go` (+2 -2) 📝 `models/issue_milestone.go` (+4 -4) 📝 `models/issue_user.go` (+1 -1) 📝 `models/issue_watch.go` (+1 -1) 📝 `models/login_source.go` (+5 -5) 📝 `models/migrations/migrations.go` (+2 -2) 📝 `models/migrations/v28.go` (+1 -1) 📝 `models/migrations/v38.go` (+1 -1) 📝 `models/migrations/v39.go` (+1 -1) 📝 `models/models.go` (+1 -1) 📝 `models/notification.go` (+3 -3) 📝 `models/org.go` (+3 -3) 📝 `models/org_team.go` (+10 -10) 📝 `models/pull.go` (+4 -4) _...and 11 more files_ </details> ### 📄 Description Replace deprecated xorm method `.Id(..)` with `.ID(..)`. See https://godoc.org/github.com/go-xorm/xorm#Engine.Id, https://godoc.org/github.com/go-xorm/xorm#Session.Id --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2025-11-02 12:12:41 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#16526