mirror of
https://git.code.sf.net/p/seeddms/code
synced 2024-11-26 15:32:13 +00:00
set dms of user instances
This commit is contained in:
parent
34c88aadd3
commit
ad9afab6e0
|
@ -196,6 +196,7 @@ class SeedDMS_Core_Group { /* {{{ */
|
|||
foreach ($resArr as $row) {
|
||||
/** @var SeedDMS_Core_User $user */
|
||||
$user = new $classname($row["id"], $row["login"], $row["pwd"], $row["fullName"], $row["email"], $row["language"], $row["theme"], $row["comment"], $row["role"], $row['hidden']);
|
||||
$user->setDMS($this->_dms);
|
||||
array_push($this->_users, $user);
|
||||
}
|
||||
}
|
||||
|
@ -221,6 +222,7 @@ class SeedDMS_Core_Group { /* {{{ */
|
|||
foreach ($resArr as $row) {
|
||||
/** @var SeedDMS_Core_User $user */
|
||||
$user = new $classname($row["id"], $row["login"], $row["pwd"], $row["fullName"], $row["email"], $row["language"], $row["theme"], $row["comment"], $row["role"], $row['hidden']);
|
||||
$user->setDMS($this->_dms);
|
||||
array_push($managers, $user);
|
||||
}
|
||||
return $managers;
|
||||
|
@ -497,7 +499,7 @@ class SeedDMS_Core_Group { /* {{{ */
|
|||
$notifications = array();
|
||||
foreach ($resArr as $row) {
|
||||
$not = new SeedDMS_Core_Notification($row["target"], $row["targetType"], $row["userID"], $row["groupID"]);
|
||||
$not->setDMS($this);
|
||||
$not->setDMS($this->_dms);
|
||||
array_push($notifications, $not);
|
||||
}
|
||||
|
||||
|
|
|
@ -27,6 +27,7 @@
|
|||
- SeedDMS_Core_DMS::getDocumentList() returns false, if an unknown list passed
|
||||
- SeedDMS_Core_Document::getDocumentFiles() has new parameter to select only those files attached to a specific version of the document
|
||||
- removing a document version will not remove attachments of the document anymore
|
||||
- set dms of new user instances in SeedDMS_Core_Group
|
||||
</notes>
|
||||
<contents>
|
||||
<dir baseinstalldir="SeedDMS" name="/">
|
||||
|
|
Loading…
Reference in New Issue
Block a user