mirror of
https://git.code.sf.net/p/seeddms/code
synced 2024-11-26 15:32:13 +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);
|
||||
}
|
||||
|
||||
if (!isset($this->_accessList[$mode])) {
|
||||
if (!isset($this->_accessList[$mode])) {
|
||||
if ($op!=O_GTEQ && $op!=O_LTEQ && $op!=O_EQ) {
|
||||
return false;
|
||||
}
|
||||
$modeStr = "";
|
||||
if ($mode!=M_ANY) {
|
||||
$modeStr = " AND mode".$op.(int)$mode;
|
||||
}
|
||||
}
|
||||
$queryStr = "SELECT * FROM `tblACLs` WHERE `targetType` = ".T_FOLDER.
|
||||
" AND `target` = " . $this->_id . $modeStr . " ORDER BY `targetType`";
|
||||
$resArr = $db->getResultArray($queryStr);
|
||||
|
@ -1335,7 +1335,7 @@ class SeedDMS_Core_Folder extends SeedDMS_Core_Object {
|
|||
else //if ($row["groupID"] != -1)
|
||||
array_push($this->_accessList[$mode]["groups"], new SeedDMS_Core_GroupAccess($this->_dms->getGroup($row["groupID"]), (int) $row["mode"]));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return $this->_accessList[$mode];
|
||||
} /* }}} */
|
||||
|
|
Loading…
Reference in New Issue
Block a user