mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-02-06 15:14:58 +00:00
set date of folder
This commit is contained in:
parent
621846c86d
commit
482bf93cc0
|
@ -1,6 +1,7 @@
|
|||
--------------------------------------------------------------------------------
|
||||
Changes in version 5.1.9
|
||||
--------------------------------------------------------------------------------
|
||||
- set date of folder in webdav view
|
||||
- fix output of status on approval/review summary page
|
||||
- pass context to getAccessMode()
|
||||
- add opensearch description
|
||||
|
|
|
@ -326,8 +326,8 @@ class HTTP_WebDAV_Server_SeedDMS extends HTTP_WebDAV_Server
|
|||
if (get_class($obj) == $this->dms->getClassname('folder')) {
|
||||
// modification time
|
||||
/* folders do not have a modification time */
|
||||
$info["props"][] = $this->mkprop("getlastmodified", time());
|
||||
$info["props"][] = $this->mkprop("creationdate", time());
|
||||
$info["props"][] = $this->mkprop("getlastmodified", $obj->getDate());
|
||||
$info["props"][] = $this->mkprop("creationdate", $obj->getDate());
|
||||
|
||||
// directory (WebDAV collection)
|
||||
$patharr = $obj->getPath();
|
||||
|
|
Loading…
Reference in New Issue
Block a user