mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-25 08:34:29 +00:00
Removed permission system from models
This commit is contained in:
@@ -17,9 +17,6 @@ class Vorlagedokument_model extends DB_Model
|
||||
*/
|
||||
public function loadDokumenteFromVorlagestudiengang($vorlagestudiengang_id)
|
||||
{
|
||||
// Checks rights
|
||||
if (isError($ent = $this->isEntitled($this->dbTable, PermissionLib::SELECT_RIGHT, FHC_NORIGHT, FHC_MODEL_ERROR))) return $ent;
|
||||
|
||||
$qry = 'SELECT vorlagedokument_id,
|
||||
sort,
|
||||
vorlagestudiengang_id,
|
||||
@@ -29,7 +26,7 @@ class Vorlagedokument_model extends DB_Model
|
||||
JOIN public.tbl_dokument USING(dokument_kurzbz)
|
||||
WHERE vorlagestudiengang_id = ?
|
||||
ORDER BY sort ASC';
|
||||
|
||||
|
||||
return $this->execQuery($qry, array($vorlagestudiengang_id));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user