Updated.
This commit is contained in:
parent
b494447f8d
commit
3c89748656
|
@ -12,9 +12,7 @@ if ENV['worker_num']=='0' && File.basename($0) != 'rake' && !Rails.const_defined
|
|||
ad_image.generate_video_snapshot
|
||||
end
|
||||
if update_flag
|
||||
s = OrbitHelper::SharedHash['current_site']['site'] rescue Site.first
|
||||
s.tmp_flags << 'adf1'
|
||||
s.save
|
||||
Site.update_all("$push"=>{"tmp_flags"=>'adf1'})
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue