mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-05-09 13:06:14 +00:00
fix indenting
This commit is contained in:
parent
8e302bc770
commit
ce124bb862
|
@ -1314,14 +1314,14 @@ class SeedDMS_Core_Folder extends SeedDMS_Core_Object {
|
||||||
return $this->_parent->getAccessList($mode, $op);
|
return $this->_parent->getAccessList($mode, $op);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!isset($this->_accessList[$mode])) {
|
if (!isset($this->_accessList[$mode])) {
|
||||||
if ($op!=O_GTEQ && $op!=O_LTEQ && $op!=O_EQ) {
|
if ($op!=O_GTEQ && $op!=O_LTEQ && $op!=O_EQ) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
$modeStr = "";
|
$modeStr = "";
|
||||||
if ($mode!=M_ANY) {
|
if ($mode!=M_ANY) {
|
||||||
$modeStr = " AND mode".$op.(int)$mode;
|
$modeStr = " AND mode".$op.(int)$mode;
|
||||||
}
|
}
|
||||||
$queryStr = "SELECT * FROM `tblACLs` WHERE `targetType` = ".T_FOLDER.
|
$queryStr = "SELECT * FROM `tblACLs` WHERE `targetType` = ".T_FOLDER.
|
||||||
" AND `target` = " . $this->_id . $modeStr . " ORDER BY `targetType`";
|
" AND `target` = " . $this->_id . $modeStr . " ORDER BY `targetType`";
|
||||||
$resArr = $db->getResultArray($queryStr);
|
$resArr = $db->getResultArray($queryStr);
|
||||||
|
@ -1335,7 +1335,7 @@ class SeedDMS_Core_Folder extends SeedDMS_Core_Object {
|
||||||
else //if ($row["groupID"] != -1)
|
else //if ($row["groupID"] != -1)
|
||||||
array_push($this->_accessList[$mode]["groups"], new SeedDMS_Core_GroupAccess($this->_dms->getGroup($row["groupID"]), (int) $row["mode"]));
|
array_push($this->_accessList[$mode]["groups"], new SeedDMS_Core_GroupAccess($this->_dms->getGroup($row["groupID"]), (int) $row["mode"]));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return $this->_accessList[$mode];
|
return $this->_accessList[$mode];
|
||||||
} /* }}} */
|
} /* }}} */
|
||||||
|
|
Loading…
Reference in New Issue
Block a user