删除无版本库的项目报错

This commit is contained in:
huang 2016-10-28 14:24:26 +08:00
parent b0b5e203b3
commit 68c0999a58
1 changed files with 1 additions and 1 deletions

View File

@ -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