- update 'last_updated' field
authorTony Mack <tmack@cs.princeton.edu>
Wed, 22 Aug 2007 19:57:19 +0000 (19:57 +0000)
committerTony Mack <tmack@cs.princeton.edu>
Wed, 22 Aug 2007 19:57:19 +0000 (19:57 +0000)
PLC/Methods/UpdateNode.py
PLC/Methods/UpdatePerson.py
PLC/Methods/UpdateSite.py

index b20d3c5..d8128e0 100644 (file)
@@ -60,6 +60,7 @@ class UpdateNode(Method):
                 raise PLCPermissionDenied, "Not allowed to delete nodes from specified site"
 
         node.update(node_fields)
+       node.update_last_updated(False)
         node.sync()
        
        # Logging variables
index 816f98e..790307e 100644 (file)
@@ -53,6 +53,7 @@ class UpdatePerson(Method):
             raise PLCPermissionDenied, "Not allowed to update specified account"
 
         person.update(person_fields)
+       person.update_last_updated(False)
         person.sync()
        
        # Logging variables
index 2e4d95d..03b1e13 100644 (file)
@@ -60,6 +60,7 @@ class UpdateSite(Method):
                     del site_fields[key]
 
         site.update(site_fields)
+       site.update_last_updated(False)
        site.sync()
        
        # Logging variables