Commit d12a2991 authored by Tiago Botelho's avatar Tiago Botelho

Adds changelog entry, changes RemoteMirror#sync? to be semantically sound and...

Adds changelog entry, changes RemoteMirror#sync? to be semantically sound and remove reference to pull mirrors in view
parent 961255b1
......@@ -87,11 +87,11 @@ class RemoteMirror < ActiveRecord::Base
end
def sync?
!enabled?
enabled?
end
def sync
return if sync?
return unless sync?
if recently_scheduled?
RepositoryUpdateRemoteMirrorWorker.perform_in(backoff_delay, self.id, Time.now)
......
......@@ -321,6 +321,6 @@
%button.btn.js-settings-toggle{ type: 'button' }
= expanded ? 'Collapse' : 'Expand'
%p
= _('Configure push and pull mirrors.')
= _('Configure push mirrors.')
.settings-content
= render partial: 'repository_mirrors_form'
---
title: Adds push mirrors to GitLab Community Edition
merge_request: 18715
author:
type: changed
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment