mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-02-06 15:14:58 +00:00
- replace getApproversList() by getReadUserList()
This commit is contained in:
parent
af54fcb645
commit
fbcd6eb123
|
@ -61,7 +61,7 @@ if ($overallStatus["status"]==S_REJECTED || $overallStatus["status"]==S_OBSOLETE
|
||||||
|
|
||||||
// Retrieve a list of all users and groups that have review / approve
|
// Retrieve a list of all users and groups that have review / approve
|
||||||
// privileges.
|
// privileges.
|
||||||
$docAccess = $document->getApproversList();
|
$docAccess = $document->getReadAccessList();
|
||||||
$accessIndex = array("i"=>array(), "g"=>array());
|
$accessIndex = array("i"=>array(), "g"=>array());
|
||||||
foreach ($docAccess["users"] as $i=>$da) {
|
foreach ($docAccess["users"] as $i=>$da) {
|
||||||
$accessIndex["i"][$da->getID()] = $i;
|
$accessIndex["i"][$da->getID()] = $i;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user