fix comment (document -> folder)

This commit is contained in:
Uwe Steinmann 2021-09-20 16:34:57 +02:00
parent 7ed1a83453
commit 6d01627553

View File

@ -321,7 +321,7 @@ class SeedDMS_Core_Folder extends SeedDMS_Core_Object {
} /* }}} */ } /* }}} */
/** /**
* Set creation date of the document * Set creation date of the folder
* *
* @param integer $date timestamp of creation date. If false then set it * @param integer $date timestamp of creation date. If false then set it
* to the current timestamp * to the current timestamp
@ -1458,7 +1458,7 @@ class SeedDMS_Core_Folder extends SeedDMS_Core_Object {
/* Administrators have unrestricted access */ /* Administrators have unrestricted access */
if ($user->isAdmin()) return M_ALL; if ($user->isAdmin()) return M_ALL;
/* The owner of the document has unrestricted access */ /* The owner of the folder has unrestricted access */
if ($user->getID() == $this->_ownerID) return M_ALL; if ($user->getID() == $this->_ownerID) return M_ALL;
/* Check ACLs */ /* Check ACLs */