use constant S_LOG_USER_REMOVE

This commit is contained in:
Uwe Steinmann 2015-12-08 18:19:33 +01:00
parent 4a5d084ddd
commit 6ae70ce7f6

View File

@ -80,7 +80,7 @@ $approvalStatus = $content->getApprovalStatus();
// Index the review results for easy cross-reference with the Approvers List. // Index the review results for easy cross-reference with the Approvers List.
$reviewIndex = array("i"=>array(), "g"=>array()); $reviewIndex = array("i"=>array(), "g"=>array());
foreach ($reviewStatus as $i=>$rs) { foreach ($reviewStatus as $i=>$rs) {
if ($rs["status"]!=-2) { if ($rs["status"]!=S_LOG_USER_REMOVED) {
if ($rs["type"]==0) { if ($rs["type"]==0) {
$reviewIndex["i"][$rs["required"]] = array("status"=>$rs["status"], "idx"=>$i); $reviewIndex["i"][$rs["required"]] = array("status"=>$rs["status"], "idx"=>$i);
} }
@ -92,7 +92,7 @@ foreach ($reviewStatus as $i=>$rs) {
// Index the approval results for easy cross-reference with the Approvers List. // Index the approval results for easy cross-reference with the Approvers List.
$approvalIndex = array("i"=>array(), "g"=>array()); $approvalIndex = array("i"=>array(), "g"=>array());
foreach ($approvalStatus as $i=>$rs) { foreach ($approvalStatus as $i=>$rs) {
if ($rs["status"]!=-2) { if ($rs["status"]!=S_LOG_USER_REMOVED) {
if ($rs["type"]==0) { if ($rs["type"]==0) {
$approvalIndex["i"][$rs["required"]] = array("status"=>$rs["status"], "idx"=>$i); $approvalIndex["i"][$rs["required"]] = array("status"=>$rs["status"], "idx"=>$i);
} }