删除无版本库的项目报错
This commit is contained in:
parent
b0b5e203b3
commit
68c0999a58
|
@ -725,7 +725,7 @@ class ProjectsController < ApplicationController
|
|||
GITLABTYPE = "Repository::Gitlab"
|
||||
def archive
|
||||
if request.post?
|
||||
if @project.archive
|
||||
if @project.archive && @project.gpid
|
||||
# 删除版本库信息
|
||||
begin
|
||||
g = Gitlab.client
|
||||
|
|
Loading…
Reference in New Issue