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
|
ad_image.generate_video_snapshot
|
||||||
end
|
end
|
||||||
if update_flag
|
if update_flag
|
||||||
s = OrbitHelper::SharedHash['current_site']['site'] rescue Site.first
|
Site.update_all("$push"=>{"tmp_flags"=>'adf1'})
|
||||||
s.tmp_flags << 'adf1'
|
|
||||||
s.save
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue