From d02e7f83c6eda62464f9f085ab2105f615190aab Mon Sep 17 00:00:00 2001
From: James Tauber <jtauber@jtauber.com>
Date: Thu, 20 Sep 2012 21:07:08 -0400
Subject: [PATCH] reverted incorrect guarding which removed the whole point of
 promote_proposal and ensured it was never called

---
 symposion/reviews/models.py | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/symposion/reviews/models.py b/symposion/reviews/models.py
index 0ddfa4b3..4cf44a55 100644
--- a/symposion/reviews/models.py
+++ b/symposion/reviews/models.py
@@ -308,7 +308,7 @@ class ResultNotification(models.Model):
 
 
 def promote_proposal(proposal):
-    
+    print "promote", proposal
     if hasattr(proposal, "presentation") and proposal.presentation:
         # already promoted
         presentation = proposal.presentation
@@ -330,13 +330,13 @@ def promote_proposal(proposal):
 
 
 def unpromote_proposal(proposal):
-    
+    print "unpromote"
     if hasattr(proposal, "presentation") and proposal.presentation:
         proposal.presentation.delete()
 
 
 def accepted_proposal(sender, instance=None, **kwargs):
-    if instance is None or not hasattr(instance, "presentation"):
+    if instance is None:
         return
     if instance.status == "accepted":
         promote_proposal(instance.proposal)