Changeset 1350


Ignore:
Timestamp:
02/07/07 13:55:55 (13 years ago)
Author:
pjotr
Message:

Now it returns only the member name

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Resources.py

    r1348 r1350  
    483483    def getLastEditor(self): 
    484484        """Returns id of last user who edited this object""" 
    485         hist=self.manage_change_history() 
    486         return hist[0]['user_name'] 
     485        return self.getHistory()[0]['_by'] 
    487486 
    488487    def getTimeDifference(self,modtime): 
Note: See TracChangeset for help on using the changeset viewer.