Changeset ecda80 in indico


Ignore:
Timestamp:
09/29/11 17:15:15 (20 months ago)
Author:
Pedro Ferreira <jose.pedro.ferreira@…>
Branches:
master, hello-world-walkthrough, ipv6, v0.98-series, v0.98.2, v0.98.3, v0.98b2, v0.99, 051b2622c51afb171a1dedb46a0df4fbb0cbd02e, 4c7d4152dff271ba5df5a8606605969cab454080
Children:
79b0b7
Parents:
7319f3
Message:

[FIX] Delete MCU bookings while ongoing

Location:
indico/MaKaC/plugins/Collaboration
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • indico/MaKaC/plugins/Collaboration/EVO/collaboration.py

    r7319f3 recda80  
    271271            self._permissionToStart = True 
    272272 
     273    def _canBeDeleted(self): 
     274        return not (self.isHappeningNow() or self.hasHappened()) 
     275 
    273276    def _canBeNotifiedOfEventDateChanges(self): 
    274277        return not self.hasHappened() 
  • indico/MaKaC/plugins/Collaboration/base.py

    r7319f3 recda80  
    15391539        """ 
    15401540 
    1541         if self.isHappeningNow() or self.hasHappened(): 
    1542             return False 
    1543         else: 
    1544             return True 
     1541        return self._canBeDeleted 
    15451542 
    15461543    def setCanBeDeleted(self, canBeDeleted): 
Note: See TracChangeset for help on using the changeset viewer.