Changeset 2413


Ignore:
Timestamp:
06/12/08 18:20:13 (11 years ago)
Author:
anonymous
Message:

Fixed checkTitle

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/LeMillTool.py

    r2411 r2413  
    514514        if matches: 
    515515            for match in matches: 
    516                 if match.portal_type=='Redirector' or match.isDeleted(): 
     516                if match.portal_type=='Redirector' or match.getState=='deleted': 
    517517                    if match.UID not in [d.UID for d in delete_list]: 
    518518                        delete_list.append(match) 
     
    523523        if matches: 
    524524            for match in matches: 
    525                 if match.portal_type=='Redirector' or match.isDeleted(): 
     525                if match.portal_type=='Redirector' or match.getState=='deleted': 
    526526                    if match.UID not in [d.UID for d in delete_list]: 
    527527                        delete_list.append(match) 
  • trunk/Resources.py

    r2411 r2413  
    129129        """ returns True if state is 'draft' """ 
    130130        return self.state=='draft' 
     131 
     132    def canIEdit(self, member): 
     133        """ Wikish workflow, so yes you can """ 
     134        if member:  
     135            return True 
     136        else: 
     137            return False  
    131138 
    132139    ####### Cataloging ################################### 
Note: See TracChangeset for help on using the changeset viewer.