diff --git a/application/models/accounting/Kostenstelle_model.php b/application/models/accounting/Kostenstelle_model.php index 1164bc969..4342327f7 100644 --- a/application/models/accounting/Kostenstelle_model.php +++ b/application/models/accounting/Kostenstelle_model.php @@ -57,24 +57,6 @@ class Kostenstelle_model extends DB_Model (DATE ? < kgjbis.ende OR wawi.tbl_kostenstelle.geschaeftsjahrbis IS NULL) ORDER BY wawi.tbl_kostenstelle.bezeichnung'; - $kostenstellen = $this->execQuery($query, array($gjstart, $gjstart)); - - if ($kostenstellen->error) - return error($kostenstellen->retval); - - $this->load->library('PermissionLib'); - - $kostenstellenresult = array(); - - //filter kostenstellen, only kostenstellen for which berechtigt - foreach ($kostenstellen->retval as $kostenstelle) - { - if ($this->permissionlib->isBerechtigt('extension/budget_verwaltung', 'suid', null, $kostenstelle->kostenstelle_id) === true) - { - $kostenstellenresult[] = $kostenstelle; - } - } - - return success($kostenstellenresult); + return $this->execQuery($query, array($gjstart, $gjstart)); } } diff --git a/system/checksystem.php b/system/checksystem.php index 719d0e9c4..6bdd83f54 100644 --- a/system/checksystem.php +++ b/system/checksystem.php @@ -113,8 +113,6 @@ $berechtigungen = array( array('inout/incoming','Incomingverwaltung'), array('inout/outgoing','Outgoingverwaltung'), array('inout/uebersicht','Verbandsanzeige fuer Incoming/Outgoing im FAS'), - array('extension/budget_genehmigung','Genehmigen und Ablehnen von Budgetanträgen'), - array('extension/budget_verwaltung','Verwaltung von Budgetanträgen'), array('lehre','Berechtigung fuer CIS-Seite'), array('lehre/abgabetool','Projektabgabetool, Studentenansicht'), array('lehre/abgabetool:download','Download von Projektarbeitsabgaben'),