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