Fix bug.
This commit is contained in:
parent
512970d590
commit
66412d3e40
|
@ -41,6 +41,9 @@ class SiteServer
|
||||||
if self.domain_name != '' && self.domain_names.length !=0
|
if self.domain_name != '' && self.domain_names.length !=0
|
||||||
self.domain_name = ''
|
self.domain_name = ''
|
||||||
end
|
end
|
||||||
|
if !self.new_record? && self.account_changed?
|
||||||
|
SiteServerFileBackup.where(:backup_dir=>"/home/#{self.account_was}").update_all(:backup_dir=>"/home/{{user_name}}")
|
||||||
|
end
|
||||||
tmp_site_constructs = site_constructs
|
tmp_site_constructs = site_constructs
|
||||||
need_change = false
|
need_change = false
|
||||||
if self.enable_redirect_default_domain_changed?
|
if self.enable_redirect_default_domain_changed?
|
||||||
|
|
Loading…
Reference in New Issue