Beispiel #1
0
 public function updateProperties(&$properties, &$result, \Sabre\DAV\INode $node)
 {
     if ($node instanceof \afterlogic\DAV\FS\File && array_key_exists('{DAV:}lastmodified', $properties)) {
         $mResult = $node->updateLastModified($properties['{DAV:}lastmodified']);
         if ($mResult !== false) {
             $result[200]['{DAV:}lastmodified'] = null;
             unset($properties['{DAV:}lastmodified']);
         }
     }
     return true;
 }