[PR #2020] [MERGED] Refactor session close as xorm already does everything needed internally #16183

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

📋 Pull Request Information

Original PR: https://github.com/go-gitea/gitea/pull/2020
Author: @lafriks
Created: 6/20/2017
Status: Merged
Merged: 6/21/2017
Merged by: @lunny

Base: masterHead: refactor_session_close


📝 Commits (1)

  • 544cd02 Refactor session close as xorm already does everything needed internally

📊 Changes

23 files changed (+60 additions, -74 deletions)

View changed files

📝 models/attachment.go (+1 -1)
📝 models/branches.go (+3 -3)
📝 models/gpg_key.go (+2 -2)
📝 models/issue.go (+4 -4)
📝 models/issue_comment.go (+2 -2)
📝 models/issue_label.go (+4 -4)
📝 models/issue_milestone.go (+3 -3)
📝 models/issue_user.go (+1 -1)
📝 models/lfs.go (+2 -2)
📝 models/migrations/migrations.go (+5 -12)
📝 models/migrations/v13.go (+1 -1)
📝 models/models.go (+0 -7)
📝 models/org.go (+2 -2)
📝 models/org_team.go (+6 -6)
📝 models/pull.go (+2 -2)
📝 models/repo.go (+6 -6)
📝 models/repo_collaboration.go (+3 -3)
📝 models/repo_editor.go (+1 -1)
📝 models/ssh_key.go (+4 -4)
📝 models/user.go (+3 -3)

...and 3 more files

📄 Description

For reference: https://github.com/go-xorm/xorm/blob/master/session.go#L92


🔄 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/2020 **Author:** [@lafriks](https://github.com/lafriks) **Created:** 6/20/2017 **Status:** ✅ Merged **Merged:** 6/21/2017 **Merged by:** [@lunny](https://github.com/lunny) **Base:** `master` ← **Head:** `refactor_session_close` --- ### 📝 Commits (1) - [`544cd02`](https://github.com/go-gitea/gitea/commit/544cd0214d0f66023c4c131ab262a98e717ce208) Refactor session close as xorm already does everything needed internally ### 📊 Changes **23 files changed** (+60 additions, -74 deletions) <details> <summary>View changed files</summary> 📝 `models/attachment.go` (+1 -1) 📝 `models/branches.go` (+3 -3) 📝 `models/gpg_key.go` (+2 -2) 📝 `models/issue.go` (+4 -4) 📝 `models/issue_comment.go` (+2 -2) 📝 `models/issue_label.go` (+4 -4) 📝 `models/issue_milestone.go` (+3 -3) 📝 `models/issue_user.go` (+1 -1) 📝 `models/lfs.go` (+2 -2) 📝 `models/migrations/migrations.go` (+5 -12) 📝 `models/migrations/v13.go` (+1 -1) 📝 `models/models.go` (+0 -7) 📝 `models/org.go` (+2 -2) 📝 `models/org_team.go` (+6 -6) 📝 `models/pull.go` (+2 -2) 📝 `models/repo.go` (+6 -6) 📝 `models/repo_collaboration.go` (+3 -3) 📝 `models/repo_editor.go` (+1 -1) 📝 `models/ssh_key.go` (+4 -4) 📝 `models/user.go` (+3 -3) _...and 3 more files_ </details> ### 📄 Description For reference: https://github.com/go-xorm/xorm/blob/master/session.go#L92 --- <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:04:11 -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#16183