aboutsummaryrefslogtreecommitdiff
path: root/modules/templates/helper.go
diff options
context:
space:
mode:
Diffstat (limited to 'modules/templates/helper.go')
-rw-r--r--modules/templates/helper.go3
1 files changed, 0 insertions, 3 deletions
diff --git a/modules/templates/helper.go b/modules/templates/helper.go
index b77928fc9..99b197996 100644
--- a/modules/templates/helper.go
+++ b/modules/templates/helper.go
@@ -976,9 +976,6 @@ type remoteAddress struct {
func mirrorRemoteAddress(ctx context.Context, m *repo_model.Repository, remoteName string) remoteAddress {
a := remoteAddress{}
- if !m.IsMirror {
- return a
- }
remoteURL := m.OriginalURL
if remoteURL == "" {