Merge branch 'ee-parity' into 'master'
Add method missing from EE ## Why was this MR needed? `ProjectWiki#repository_exists?` is present in EE but not on CE, and there's no particular reason why it shouldn't See merge request !5802
This commit is contained in:
commit
640e485c6a
|
@ -56,6 +56,10 @@ class ProjectWiki
|
|||
end
|
||||
end
|
||||
|
||||
def repository_exists?
|
||||
!!repository.exists?
|
||||
end
|
||||
|
||||
def empty?
|
||||
pages.empty?
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue