sponsor config
This commit is contained in:
parent
2a02b6f530
commit
6571db8a3c
|
@ -799,6 +799,9 @@ class User < Owner
|
||||||
end
|
end
|
||||||
|
|
||||||
def daily_reward
|
def daily_reward
|
||||||
|
if !Rails.application.config_for(:configuration)["sponsor"]
|
||||||
|
return
|
||||||
|
end
|
||||||
t1 = Time.now
|
t1 = Time.now
|
||||||
t2 = Time.new(t1.year, t1.month, t1.day)
|
t2 = Time.new(t1.year, t1.month, t1.day)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue