FIX
This commit is contained in:
parent
6c9f4b08ee
commit
492a0e10da
|
@ -1124,7 +1124,7 @@ class ProjectsController < ApplicationController
|
|||
g.delete_project(@project.gpid) unless @project.gpid.blank?
|
||||
# 删除Trustie版本库记录
|
||||
repoisitory = Repository.where(:project_id => @project.id, :type => GITLABTYPE).first
|
||||
repoisitory.delete unless repository.blank?
|
||||
repoisitory.delete unless repoisitory.blank?
|
||||
@project.update_column(:gpid, nil)
|
||||
@project.update_column(:forked_from_project_id, nil)
|
||||
@project_to_destroy = @project
|
||||
|
|
Loading…
Reference in New Issue