[PR #814] [MERGED] Remove unneeded database loads #15589

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

📋 Pull Request Information

Original PR: https://github.com/go-gitea/gitea/pull/814
Author: @ethantkoenig
Created: 2/1/2017
Status: Merged
Merged: 2/2/2017
Merged by: @lunny

Base: masterHead: refactor/query


📝 Commits (1)

  • 633ab6c Remove unneeded database loads

📊 Changes

2 files changed (+2 additions, -6 deletions)

View changed files

📝 modules/context/repo.go (+1 -3)
📝 routers/api/v1/api.go (+1 -3)

📄 Description

Remove unnecessary calls to repo.GetOwner() in context handlers.


🔄 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/814 **Author:** [@ethantkoenig](https://github.com/ethantkoenig) **Created:** 2/1/2017 **Status:** ✅ Merged **Merged:** 2/2/2017 **Merged by:** [@lunny](https://github.com/lunny) **Base:** `master` ← **Head:** `refactor/query` --- ### 📝 Commits (1) - [`633ab6c`](https://github.com/go-gitea/gitea/commit/633ab6c4b49fbbcfc8de4c254e89c1715fec559c) Remove unneeded database loads ### 📊 Changes **2 files changed** (+2 additions, -6 deletions) <details> <summary>View changed files</summary> 📝 `modules/context/repo.go` (+1 -3) 📝 `routers/api/v1/api.go` (+1 -3) </details> ### 📄 Description Remove unnecessary calls to `repo.GetOwner()` in context handlers. --- <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 11:50:06 -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#15589