Skip to content

Commit

Permalink
Revert "Add back cast spell button to profiles"
Browse files Browse the repository at this point in the history
This reverts commit 156c577.
  • Loading branch information
palcu committed Nov 1, 2015
1 parent 156c577 commit a28878c
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions wouso/interface/profile/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
from django.template import RequestContext
from django.utils.html import strip_tags

from wouso.core.config.models import BoolSetting
from wouso.core.god import God
from wouso.core.magic.models import Spell, PlayerSpellDue
from wouso.core.scoring.models import History
Expand Down Expand Up @@ -107,7 +106,6 @@ def user_profile(request, id, page=u'1'):
challenge_launched_recently = Challenge.exist_last_day(date.today(),
request.user.get_profile(), profile)
specialquest_button = SpecialQuestGame.get_specialquest_user_button(request, profile)
config_disable_magic = BoolSetting.get('disable-Magic').get_value()

return render_to_response('profile/profile.html',
{'profile': profile,
Expand All @@ -116,7 +114,6 @@ def user_profile(request, id, page=u'1'):
'scoring': history,
'challenge_launched_recently': challenge_launched_recently,
'specialquest_button': specialquest_button,
'config_disable_magic': config_disable_magic,
'message': message},
context_instance=RequestContext(request))

Expand Down

0 comments on commit a28878c

Please sign in to comment.