fds]
This commit is contained in:
parent
5b964f3fac
commit
f0f3f343f8
2 changed files with 2 additions and 2 deletions
|
@ -169,7 +169,7 @@ def remove_fake_admin(v, username):
|
|||
@limiter.limit("1/day")
|
||||
@admin_level_required(6)
|
||||
def monthly(v):
|
||||
if 'pcm' in request.host or (SITE_NAME == 'Drama' and v.id in [1,12,28,29,747,995,1480]) or ('rama' not in request.host and 'pcm' not in request.host):
|
||||
if 'pcm' in request.host or (SITE_NAME == 'Drama' and v.id in [1,995]) or ('rama' not in request.host and 'pcm' not in request.host):
|
||||
thing = g.db.query(AwardRelationship).order_by(AwardRelationship.id.desc()).first().id
|
||||
for u in g.db.query(User).options(lazyload('*')).filter(User.patron > 0).all():
|
||||
if u.patron == 1: procoins = 2000
|
||||
|
|
|
@ -65,7 +65,7 @@
|
|||
</form>
|
||||
|
||||
<pre></pre>
|
||||
{% if v.id in [1,12,28,29,747,995,1480] %}
|
||||
{% if v.id in [1,995] %}
|
||||
<div><a class="btn btn-success" href="javascript:void(0)" onclick="post_toast('/admin/monthly')">Grant Monthly Marseybux</a></div>
|
||||
{% endif %}
|
||||
{% endblock %}
|
Loading…
Add table
Add a link
Reference in a new issue