diff --git a/application/controllers/ModelTest.php b/application/controllers/ModelTest.php index 3e51082d7..78f8d785f 100755 --- a/application/controllers/ModelTest.php +++ b/application/controllers/ModelTest.php @@ -24,7 +24,6 @@ class ModelTest extends FHC_Controller { //$this->session->uid='admin'; // Should normaly be set through auth $this->load->model('person/Person_model'); - $this->Person_model->setUID('admin'); // Should normaly be set through auth $res = $this->Person_model->getPerson(null, 'asdf\' OR person_id=1; SELECT 1; --'); var_dump($res->result_object()); diff --git a/application/controllers/api/v1/accounting/Aufteilung.php b/application/controllers/api/v1/accounting/Aufteilung.php index 76f072da2..6c374ba17 100644 --- a/application/controllers/api/v1/accounting/Aufteilung.php +++ b/application/controllers/api/v1/accounting/Aufteilung.php @@ -24,8 +24,6 @@ class Aufteilung extends APIv1_Controller parent::__construct(); // Load model AufteilungModel $this->load->model('accounting/aufteilung_model', 'AufteilungModel'); - // Load set the uid of the model to let to check the permissions - $this->AufteilungModel->setUID($this->_getUID()); } /** diff --git a/application/controllers/api/v1/accounting/Bestelldetail.php b/application/controllers/api/v1/accounting/Bestelldetail.php index cde6eb766..6cc7d8767 100644 --- a/application/controllers/api/v1/accounting/Bestelldetail.php +++ b/application/controllers/api/v1/accounting/Bestelldetail.php @@ -24,8 +24,6 @@ class Bestelldetail extends APIv1_Controller parent::__construct(); // Load model BestelldetailModel $this->load->model('accounting/bestelldetail_model', 'BestelldetailModel'); - // Load set the uid of the model to let to check the permissions - $this->BestelldetailModel->setUID($this->_getUID()); } /** diff --git a/application/controllers/api/v1/accounting/Bestelldetailtag.php b/application/controllers/api/v1/accounting/Bestelldetailtag.php index 1263bd04e..064594f39 100644 --- a/application/controllers/api/v1/accounting/Bestelldetailtag.php +++ b/application/controllers/api/v1/accounting/Bestelldetailtag.php @@ -24,8 +24,6 @@ class Bestelldetailtag extends APIv1_Controller parent::__construct(); // Load model BestelldetailtagModel $this->load->model('accounting/bestelldetailtag_model', 'BestelldetailtagModel'); - // Load set the uid of the model to let to check the permissions - $this->BestelldetailtagModel->setUID($this->_getUID()); } /** diff --git a/application/controllers/api/v1/accounting/Bestellstatus.php b/application/controllers/api/v1/accounting/Bestellstatus.php index 2feb43ced..85408c820 100644 --- a/application/controllers/api/v1/accounting/Bestellstatus.php +++ b/application/controllers/api/v1/accounting/Bestellstatus.php @@ -24,8 +24,6 @@ class Bestellstatus extends APIv1_Controller parent::__construct(); // Load model BestellstatusModel $this->load->model('accounting/bestellstatus_model', 'BestellstatusModel'); - // Load set the uid of the model to let to check the permissions - $this->BestellstatusModel->setUID($this->_getUID()); } /** diff --git a/application/controllers/api/v1/accounting/Bestellung.php b/application/controllers/api/v1/accounting/Bestellung.php index cce6a4298..984b5b89b 100644 --- a/application/controllers/api/v1/accounting/Bestellung.php +++ b/application/controllers/api/v1/accounting/Bestellung.php @@ -24,8 +24,6 @@ class Bestellung extends APIv1_Controller parent::__construct(); // Load model BestellungModel $this->load->model('accounting/bestellung_model', 'BestellungModel'); - // Load set the uid of the model to let to check the permissions - $this->BestellungModel->setUID($this->_getUID()); } /** diff --git a/application/controllers/api/v1/accounting/Bestellungtag.php b/application/controllers/api/v1/accounting/Bestellungtag.php index 13361d66f..c8d715a5b 100644 --- a/application/controllers/api/v1/accounting/Bestellungtag.php +++ b/application/controllers/api/v1/accounting/Bestellungtag.php @@ -24,8 +24,6 @@ class Bestellungtag extends APIv1_Controller parent::__construct(); // Load model BestellungtagModel $this->load->model('accounting/bestellungtag_model', 'BestellungtagModel'); - // Load set the uid of the model to let to check the permissions - $this->BestellungtagModel->setUID($this->_getUID()); } /** diff --git a/application/controllers/api/v1/accounting/Buchung.php b/application/controllers/api/v1/accounting/Buchung.php index 7175063a2..d40974a88 100644 --- a/application/controllers/api/v1/accounting/Buchung.php +++ b/application/controllers/api/v1/accounting/Buchung.php @@ -24,8 +24,6 @@ class Buchung extends APIv1_Controller parent::__construct(); // Load model BuchungModel $this->load->model('accounting/buchung_model', 'BuchungModel'); - // Load set the uid of the model to let to check the permissions - $this->BuchungModel->setUID($this->_getUID()); } /** diff --git a/application/controllers/api/v1/accounting/Buchungstyp.php b/application/controllers/api/v1/accounting/Buchungstyp.php index 854cc954b..50efa179f 100644 --- a/application/controllers/api/v1/accounting/Buchungstyp.php +++ b/application/controllers/api/v1/accounting/Buchungstyp.php @@ -24,8 +24,6 @@ class Buchungstyp extends APIv1_Controller parent::__construct(); // Load model BuchungstypModel $this->load->model('accounting/buchungstyp_model', 'BuchungstypModel'); - // Load set the uid of the model to let to check the permissions - $this->BuchungstypModel->setUID($this->_getUID()); } /** diff --git a/application/controllers/api/v1/accounting/Budget.php b/application/controllers/api/v1/accounting/Budget.php index 7de0dee3f..2af229a5f 100644 --- a/application/controllers/api/v1/accounting/Budget.php +++ b/application/controllers/api/v1/accounting/Budget.php @@ -24,8 +24,6 @@ class Budget extends APIv1_Controller parent::__construct(); // Load model BudgetModel $this->load->model('accounting/budget_model', 'BudgetModel'); - // Load set the uid of the model to let to check the permissions - $this->BudgetModel->setUID($this->_getUID()); } /** diff --git a/application/controllers/api/v1/accounting/Konto.php b/application/controllers/api/v1/accounting/Konto.php index 2c05a6735..e56a9b0d6 100644 --- a/application/controllers/api/v1/accounting/Konto.php +++ b/application/controllers/api/v1/accounting/Konto.php @@ -24,8 +24,6 @@ class Konto extends APIv1_Controller parent::__construct(); // Load model KontoModel $this->load->model('accounting/konto_model', 'KontoModel'); - // Load set the uid of the model to let to check the permissions - $this->KontoModel->setUID($this->_getUID()); } /** diff --git a/application/controllers/api/v1/accounting/Kostenstelle.php b/application/controllers/api/v1/accounting/Kostenstelle.php index ef4074134..813039245 100644 --- a/application/controllers/api/v1/accounting/Kostenstelle.php +++ b/application/controllers/api/v1/accounting/Kostenstelle.php @@ -24,8 +24,6 @@ class Kostenstelle extends APIv1_Controller parent::__construct(); // Load model KostenstelleModel $this->load->model('accounting/kostenstelle_model', 'KostenstelleModel'); - // Load set the uid of the model to let to check the permissions - $this->KostenstelleModel->setUID($this->_getUID()); } /** diff --git a/application/controllers/api/v1/accounting/Rechnung.php b/application/controllers/api/v1/accounting/Rechnung.php index 4bc69abf6..015c8ac57 100644 --- a/application/controllers/api/v1/accounting/Rechnung.php +++ b/application/controllers/api/v1/accounting/Rechnung.php @@ -24,8 +24,6 @@ class Rechnung extends APIv1_Controller parent::__construct(); // Load model RechnungModel $this->load->model('accounting/rechnung_model', 'RechnungModel'); - // Load set the uid of the model to let to check the permissions - $this->RechnungModel->setUID($this->_getUID()); } /** diff --git a/application/controllers/api/v1/accounting/Rechnungsbetrag.php b/application/controllers/api/v1/accounting/Rechnungsbetrag.php index 3031857e0..7ed6e46a5 100644 --- a/application/controllers/api/v1/accounting/Rechnungsbetrag.php +++ b/application/controllers/api/v1/accounting/Rechnungsbetrag.php @@ -24,8 +24,6 @@ class Rechnungsbetrag extends APIv1_Controller parent::__construct(); // Load model RechnungsbetragModel $this->load->model('accounting/rechnungsbetrag_model', 'RechnungsbetragModel'); - // Load set the uid of the model to let to check the permissions - $this->RechnungsbetragModel->setUID($this->_getUID()); } /** diff --git a/application/controllers/api/v1/accounting/Rechnungstyp.php b/application/controllers/api/v1/accounting/Rechnungstyp.php index 56deb307f..507d4c074 100644 --- a/application/controllers/api/v1/accounting/Rechnungstyp.php +++ b/application/controllers/api/v1/accounting/Rechnungstyp.php @@ -24,8 +24,6 @@ class Rechnungstyp extends APIv1_Controller parent::__construct(); // Load model RechnungstypModel $this->load->model('accounting/rechnungstyp_model', 'RechnungstypModel'); - // Load set the uid of the model to let to check the permissions - $this->RechnungstypModel->setUID($this->_getUID()); } /** diff --git a/application/controllers/api/v1/accounting/Vertrag.php b/application/controllers/api/v1/accounting/Vertrag.php index 8993838d9..f627db74a 100644 --- a/application/controllers/api/v1/accounting/Vertrag.php +++ b/application/controllers/api/v1/accounting/Vertrag.php @@ -24,8 +24,6 @@ class Vertrag extends APIv1_Controller parent::__construct(); // Load model VertragModel $this->load->model('accounting/vertrag_model', 'VertragModel'); - // Load set the uid of the model to let to check the permissions - $this->VertragModel->setUID($this->_getUID()); } /** diff --git a/application/controllers/api/v1/accounting/Vertragsstatus.php b/application/controllers/api/v1/accounting/Vertragsstatus.php index bc7567cf9..bfe3a5f3f 100644 --- a/application/controllers/api/v1/accounting/Vertragsstatus.php +++ b/application/controllers/api/v1/accounting/Vertragsstatus.php @@ -24,8 +24,6 @@ class Vertragsstatus extends APIv1_Controller parent::__construct(); // Load model VertragsstatusModel $this->load->model('accounting/vertragsstatus_model', 'VertragsstatusModel'); - // Load set the uid of the model to let to check the permissions - $this->VertragsstatusModel->setUID($this->_getUID()); } /** diff --git a/application/controllers/api/v1/accounting/Vertragstyp.php b/application/controllers/api/v1/accounting/Vertragstyp.php index 44f0a6c76..025d39c16 100644 --- a/application/controllers/api/v1/accounting/Vertragstyp.php +++ b/application/controllers/api/v1/accounting/Vertragstyp.php @@ -24,8 +24,6 @@ class Vertragstyp extends APIv1_Controller parent::__construct(); // Load model VertragstypModel $this->load->model('accounting/vertragstyp_model', 'VertragstypModel'); - // Load set the uid of the model to let to check the permissions - $this->VertragstypModel->setUID($this->_getUID()); } /** diff --git a/application/controllers/api/v1/accounting/Zahlungstyp.php b/application/controllers/api/v1/accounting/Zahlungstyp.php index bcd529472..dad2c9edb 100644 --- a/application/controllers/api/v1/accounting/Zahlungstyp.php +++ b/application/controllers/api/v1/accounting/Zahlungstyp.php @@ -24,8 +24,6 @@ class Zahlungstyp extends APIv1_Controller parent::__construct(); // Load model ZahlungstypModel $this->load->model('accounting/zahlungstyp_model', 'ZahlungstypModel'); - // Load set the uid of the model to let to check the permissions - $this->ZahlungstypModel->setUID($this->_getUID()); } /** diff --git a/application/controllers/api/v1/codex/Akadgrad.php b/application/controllers/api/v1/codex/Akadgrad.php index 659a3292b..5ee160709 100644 --- a/application/controllers/api/v1/codex/Akadgrad.php +++ b/application/controllers/api/v1/codex/Akadgrad.php @@ -24,8 +24,6 @@ class Akadgrad extends APIv1_Controller parent::__construct(); // Load model AkadgradModel $this->load->model('codex/akadgrad_model', 'AkadgradModel'); - // Load set the uid of the model to let to check the permissions - $this->AkadgradModel->setUID($this->_getUID()); } /** diff --git a/application/controllers/api/v1/codex/Archiv.php b/application/controllers/api/v1/codex/Archiv.php index be4c5dd76..8acc38af9 100644 --- a/application/controllers/api/v1/codex/Archiv.php +++ b/application/controllers/api/v1/codex/Archiv.php @@ -24,8 +24,6 @@ class Archiv extends APIv1_Controller parent::__construct(); // Load model ArchivModel $this->load->model('codex/archiv_model', 'ArchivModel'); - // Load set the uid of the model to let to check the permissions - $this->ArchivModel->setUID($this->_getUID()); } /** diff --git a/application/controllers/api/v1/codex/Aufmerksamdurch.php b/application/controllers/api/v1/codex/Aufmerksamdurch.php index 4b13a77c5..7ba8269cd 100644 --- a/application/controllers/api/v1/codex/Aufmerksamdurch.php +++ b/application/controllers/api/v1/codex/Aufmerksamdurch.php @@ -24,8 +24,6 @@ class Aufmerksamdurch extends APIv1_Controller parent::__construct(); // Load model AufmerksamdurchModel $this->load->model('codex/aufmerksamdurch_model', 'AufmerksamdurchModel'); - // Load set the uid of the model to let to check the permissions - $this->AufmerksamdurchModel->setUID($this->_getUID()); } /** diff --git a/application/controllers/api/v1/codex/Ausbildung.php b/application/controllers/api/v1/codex/Ausbildung.php index 187026071..277f12e59 100644 --- a/application/controllers/api/v1/codex/Ausbildung.php +++ b/application/controllers/api/v1/codex/Ausbildung.php @@ -24,8 +24,6 @@ class Ausbildung extends APIv1_Controller parent::__construct(); // Load model AusbildungModel $this->load->model('codex/ausbildung_model', 'AusbildungModel'); - // Load set the uid of the model to let to check the permissions - $this->AusbildungModel->setUID($this->_getUID()); } /** diff --git a/application/controllers/api/v1/codex/Berufstaetigkeit.php b/application/controllers/api/v1/codex/Berufstaetigkeit.php index 238b63b74..7618932e4 100644 --- a/application/controllers/api/v1/codex/Berufstaetigkeit.php +++ b/application/controllers/api/v1/codex/Berufstaetigkeit.php @@ -24,8 +24,6 @@ class Berufstaetigkeit extends APIv1_Controller parent::__construct(); // Load model BerufstaetigkeitModel $this->load->model('codex/berufstaetigkeit_model', 'BerufstaetigkeitModel'); - // Load set the uid of the model to let to check the permissions - $this->BerufstaetigkeitModel->setUID($this->_getUID()); } /** diff --git a/application/controllers/api/v1/codex/Beschaeftigungsausmass.php b/application/controllers/api/v1/codex/Beschaeftigungsausmass.php index ec5b75b7c..63eba5ce1 100644 --- a/application/controllers/api/v1/codex/Beschaeftigungsausmass.php +++ b/application/controllers/api/v1/codex/Beschaeftigungsausmass.php @@ -24,8 +24,6 @@ class Beschaeftigungsausmass extends APIv1_Controller parent::__construct(); // Load model BeschaeftigungsausmassModel $this->load->model('codex/beschaeftigungsausmass_model', 'BeschaeftigungsausmassModel'); - // Load set the uid of the model to let to check the permissions - $this->BeschaeftigungsausmassModel->setUID($this->_getUID()); } /** diff --git a/application/controllers/api/v1/codex/Besqual.php b/application/controllers/api/v1/codex/Besqual.php index e48a4307f..419fab89a 100644 --- a/application/controllers/api/v1/codex/Besqual.php +++ b/application/controllers/api/v1/codex/Besqual.php @@ -24,8 +24,6 @@ class Besqual extends APIv1_Controller parent::__construct(); // Load model BesqualModel $this->load->model('codex/besqual_model', 'BesqualModel'); - // Load set the uid of the model to let to check the permissions - $this->BesqualModel->setUID($this->_getUID()); } /** diff --git a/application/controllers/api/v1/codex/Bisfunktion.php b/application/controllers/api/v1/codex/Bisfunktion.php index ab75641d3..80d3ffbf6 100644 --- a/application/controllers/api/v1/codex/Bisfunktion.php +++ b/application/controllers/api/v1/codex/Bisfunktion.php @@ -24,8 +24,6 @@ class Bisfunktion extends APIv1_Controller parent::__construct(); // Load model BisfunktionModel $this->load->model('codex/bisfunktion_model', 'BisfunktionModel'); - // Load set the uid of the model to let to check the permissions - $this->BisfunktionModel->setUID($this->_getUID()); } /** diff --git a/application/controllers/api/v1/codex/Bisio.php b/application/controllers/api/v1/codex/Bisio.php index 6e519e8cb..3fe5171b1 100644 --- a/application/controllers/api/v1/codex/Bisio.php +++ b/application/controllers/api/v1/codex/Bisio.php @@ -24,8 +24,6 @@ class Bisio extends APIv1_Controller parent::__construct(); // Load model BisioModel $this->load->model('codex/bisio_model', 'BisioModel'); - // Load set the uid of the model to let to check the permissions - $this->BisioModel->setUID($this->_getUID()); } /** diff --git a/application/controllers/api/v1/codex/Bisorgform.php b/application/controllers/api/v1/codex/Bisorgform.php index 503d50fae..54bf7aa66 100644 --- a/application/controllers/api/v1/codex/Bisorgform.php +++ b/application/controllers/api/v1/codex/Bisorgform.php @@ -24,8 +24,6 @@ class Bisorgform extends APIv1_Controller parent::__construct(); // Load model BisorgformModel $this->load->model('codex/bisorgform_model', 'BisorgformModel'); - // Load set the uid of the model to let to check the permissions - $this->BisorgformModel->setUID($this->_getUID()); } /** diff --git a/application/controllers/api/v1/codex/Bisverwendung.php b/application/controllers/api/v1/codex/Bisverwendung.php index a01a775b6..2139ada3b 100644 --- a/application/controllers/api/v1/codex/Bisverwendung.php +++ b/application/controllers/api/v1/codex/Bisverwendung.php @@ -24,8 +24,6 @@ class Bisverwendung extends APIv1_Controller parent::__construct(); // Load model BisverwendungModel $this->load->model('codex/bisverwendung_model', 'BisverwendungModel'); - // Load set the uid of the model to let to check the permissions - $this->BisverwendungModel->setUID($this->_getUID()); } /** diff --git a/application/controllers/api/v1/codex/Bundesland.php b/application/controllers/api/v1/codex/Bundesland.php index 35eaed66f..68d44f130 100644 --- a/application/controllers/api/v1/codex/Bundesland.php +++ b/application/controllers/api/v1/codex/Bundesland.php @@ -24,8 +24,6 @@ class Bundesland extends APIv1_Controller parent::__construct(); // Load model PersonModel $this->load->model('codex/bundesland_model', 'BundeslandModel'); - // Load set the uid of the model to let to check the permissions - $this->BundeslandModel->setUID($this->_getUID()); } public function getAll() diff --git a/application/controllers/api/v1/codex/Entwicklungsteam.php b/application/controllers/api/v1/codex/Entwicklungsteam.php index b0364143d..21b4dda91 100644 --- a/application/controllers/api/v1/codex/Entwicklungsteam.php +++ b/application/controllers/api/v1/codex/Entwicklungsteam.php @@ -24,8 +24,6 @@ class Entwicklungsteam extends APIv1_Controller parent::__construct(); // Load model EntwicklungsteamModel $this->load->model('codex/entwicklungsteam_model', 'EntwicklungsteamModel'); - // Load set the uid of the model to let to check the permissions - $this->EntwicklungsteamModel->setUID($this->_getUID()); } /** diff --git a/application/controllers/api/v1/codex/Gemeinde.php b/application/controllers/api/v1/codex/Gemeinde.php index 72a21be3c..e0bf6dc6c 100644 --- a/application/controllers/api/v1/codex/Gemeinde.php +++ b/application/controllers/api/v1/codex/Gemeinde.php @@ -24,8 +24,6 @@ class Gemeinde extends APIv1_Controller parent::__construct(); // Load model GemeindeModel $this->load->model('codex/gemeinde_model', 'GemeindeModel'); - // Load set the uid of the model to let to check the permissions - $this->GemeindeModel->setUID($this->_getUID()); } /** diff --git a/application/controllers/api/v1/codex/Hauptberuf.php b/application/controllers/api/v1/codex/Hauptberuf.php index 5adce00c0..bdce2872d 100644 --- a/application/controllers/api/v1/codex/Hauptberuf.php +++ b/application/controllers/api/v1/codex/Hauptberuf.php @@ -24,8 +24,6 @@ class Hauptberuf extends APIv1_Controller parent::__construct(); // Load model HauptberufModel $this->load->model('codex/hauptberuf_model', 'HauptberufModel'); - // Load set the uid of the model to let to check the permissions - $this->HauptberufModel->setUID($this->_getUID()); } /** diff --git a/application/controllers/api/v1/codex/Lehrform.php b/application/controllers/api/v1/codex/Lehrform.php index 99bec18b8..4cd48cecc 100644 --- a/application/controllers/api/v1/codex/Lehrform.php +++ b/application/controllers/api/v1/codex/Lehrform.php @@ -24,8 +24,6 @@ class Lehrform extends APIv1_Controller parent::__construct(); // Load model LehrformModel $this->load->model('codex/lehrform_model', 'LehrformModel'); - // Load set the uid of the model to let to check the permissions - $this->LehrformModel->setUID($this->_getUID()); } /** diff --git a/application/controllers/api/v1/codex/Lgartcode.php b/application/controllers/api/v1/codex/Lgartcode.php index 2c3dccb05..14dadb1c1 100644 --- a/application/controllers/api/v1/codex/Lgartcode.php +++ b/application/controllers/api/v1/codex/Lgartcode.php @@ -24,8 +24,6 @@ class Lgartcode extends APIv1_Controller parent::__construct(); // Load model LgartcodeModel $this->load->model('codex/lgartcode_model', 'LgartcodeModel'); - // Load set the uid of the model to let to check the permissions - $this->LgartcodeModel->setUID($this->_getUID()); } /** diff --git a/application/controllers/api/v1/codex/Mobilitaetsprogramm.php b/application/controllers/api/v1/codex/Mobilitaetsprogramm.php index 440ee1b96..b182a6f00 100644 --- a/application/controllers/api/v1/codex/Mobilitaetsprogramm.php +++ b/application/controllers/api/v1/codex/Mobilitaetsprogramm.php @@ -24,8 +24,6 @@ class Mobilitaetsprogramm extends APIv1_Controller parent::__construct(); // Load model MobilitaetsprogrammModel $this->load->model('codex/mobilitaetsprogramm_model', 'MobilitaetsprogrammModel'); - // Load set the uid of the model to let to check the permissions - $this->MobilitaetsprogrammModel->setUID($this->_getUID()); } /** diff --git a/application/controllers/api/v1/codex/Nation.php b/application/controllers/api/v1/codex/Nation.php index 8a9996e67..ae34bb0e4 100644 --- a/application/controllers/api/v1/codex/Nation.php +++ b/application/controllers/api/v1/codex/Nation.php @@ -22,10 +22,8 @@ class Nation extends APIv1_Controller public function __construct() { parent::__construct(); - // Load model PersonModel + // Load model NationModel $this->load->model('codex/nation_model', 'NationModel'); - // Load set the uid of the model to let to check the permissions - $this->NationModel->setUID($this->_getUID()); } public function getNation() diff --git a/application/controllers/api/v1/codex/Note.php b/application/controllers/api/v1/codex/Note.php index a1e3543dd..a6ddc6741 100644 --- a/application/controllers/api/v1/codex/Note.php +++ b/application/controllers/api/v1/codex/Note.php @@ -24,8 +24,6 @@ class Note extends APIv1_Controller parent::__construct(); // Load model NoteModel $this->load->model('codex/note_model', 'NoteModel'); - // Load set the uid of the model to let to check the permissions - $this->NoteModel->setUID($this->_getUID()); } /** diff --git a/application/controllers/api/v1/codex/Orgform.php b/application/controllers/api/v1/codex/Orgform.php index e2e1c870d..d41214275 100644 --- a/application/controllers/api/v1/codex/Orgform.php +++ b/application/controllers/api/v1/codex/Orgform.php @@ -24,8 +24,6 @@ class Orgform extends APIv1_Controller parent::__construct(); // Load model OrgformModel $this->load->model('codex/orgform_model', 'OrgformModel'); - // Load set the uid of the model to let to check the permissions - $this->OrgformModel->setUID($this->_getUID()); } /** diff --git a/application/controllers/api/v1/codex/Verwendung.php b/application/controllers/api/v1/codex/Verwendung.php index 16ed77dcd..21b2182db 100644 --- a/application/controllers/api/v1/codex/Verwendung.php +++ b/application/controllers/api/v1/codex/Verwendung.php @@ -24,8 +24,6 @@ class Verwendung extends APIv1_Controller parent::__construct(); // Load model VerwendungModel $this->load->model('codex/verwendung_model', 'VerwendungModel'); - // Load set the uid of the model to let to check the permissions - $this->VerwendungModel->setUID($this->_getUID()); } /** diff --git a/application/controllers/api/v1/codex/Zgv.php b/application/controllers/api/v1/codex/Zgv.php index 39a51581f..b7992aab4 100644 --- a/application/controllers/api/v1/codex/Zgv.php +++ b/application/controllers/api/v1/codex/Zgv.php @@ -24,8 +24,6 @@ class Zgv extends APIv1_Controller parent::__construct(); // Load model ZgvModel $this->load->model('codex/zgv_model', 'ZgvModel'); - // Load set the uid of the model to let to check the permissions - $this->ZgvModel->setUID($this->_getUID()); } /** diff --git a/application/controllers/api/v1/codex/Zgvdoktor.php b/application/controllers/api/v1/codex/Zgvdoktor.php index 44d6cc87b..50ca5cacb 100644 --- a/application/controllers/api/v1/codex/Zgvdoktor.php +++ b/application/controllers/api/v1/codex/Zgvdoktor.php @@ -24,8 +24,6 @@ class Zgvdoktor extends APIv1_Controller parent::__construct(); // Load model ZgvdoktorModel $this->load->model('codex/zgvdoktor_model', 'ZgvdoktorModel'); - // Load set the uid of the model to let to check the permissions - $this->ZgvdoktorModel->setUID($this->_getUID()); } /** diff --git a/application/controllers/api/v1/codex/Zgvgruppe.php b/application/controllers/api/v1/codex/Zgvgruppe.php index 4050387d2..805dbdb30 100644 --- a/application/controllers/api/v1/codex/Zgvgruppe.php +++ b/application/controllers/api/v1/codex/Zgvgruppe.php @@ -24,8 +24,6 @@ class Zgvgruppe extends APIv1_Controller parent::__construct(); // Load model ZgvgruppeModel $this->load->model('codex/zgvgruppe_model', 'ZgvgruppeModel'); - // Load set the uid of the model to let to check the permissions - $this->ZgvgruppeModel->setUID($this->_getUID()); } /** diff --git a/application/controllers/api/v1/codex/Zgvmaster.php b/application/controllers/api/v1/codex/Zgvmaster.php index 14b23824b..e813073c1 100644 --- a/application/controllers/api/v1/codex/Zgvmaster.php +++ b/application/controllers/api/v1/codex/Zgvmaster.php @@ -24,8 +24,6 @@ class Zgvmaster extends APIv1_Controller parent::__construct(); // Load model ZgvmasterModel $this->load->model('codex/zgvmaster_model', 'ZgvmasterModel'); - // Load set the uid of the model to let to check the permissions - $this->ZgvmasterModel->setUID($this->_getUID()); } /** diff --git a/application/controllers/api/v1/codex/Zweck.php b/application/controllers/api/v1/codex/Zweck.php index c7cc60353..7e0c3f70a 100644 --- a/application/controllers/api/v1/codex/Zweck.php +++ b/application/controllers/api/v1/codex/Zweck.php @@ -24,8 +24,6 @@ class Zweck extends APIv1_Controller parent::__construct(); // Load model ZweckModel $this->load->model('codex/zweck_model', 'ZweckModel'); - // Load set the uid of the model to let to check the permissions - $this->ZweckModel->setUID($this->_getUID()); } /** diff --git a/application/controllers/api/v1/content/Ampel.php b/application/controllers/api/v1/content/Ampel.php index bec9c84de..1bf6aae9c 100644 --- a/application/controllers/api/v1/content/Ampel.php +++ b/application/controllers/api/v1/content/Ampel.php @@ -24,8 +24,6 @@ class Ampel extends APIv1_Controller parent::__construct(); // Load model AmpelModel $this->load->model('content/ampel_model', 'AmpelModel'); - // Load set the uid of the model to let to check the permissions - $this->AmpelModel->setUID($this->_getUID()); } /** diff --git a/application/controllers/api/v1/content/Content.php b/application/controllers/api/v1/content/Content.php index b67914b70..2fd638e24 100644 --- a/application/controllers/api/v1/content/Content.php +++ b/application/controllers/api/v1/content/Content.php @@ -24,8 +24,6 @@ class Content extends APIv1_Controller parent::__construct(); // Load model ContentModel $this->load->model('content/content_model', 'ContentModel'); - // Load set the uid of the model to let to check the permissions - $this->ContentModel->setUID($this->_getUID()); } /** diff --git a/application/controllers/api/v1/content/Contentchild.php b/application/controllers/api/v1/content/Contentchild.php index 802f65d0a..5f1a28917 100644 --- a/application/controllers/api/v1/content/Contentchild.php +++ b/application/controllers/api/v1/content/Contentchild.php @@ -24,8 +24,6 @@ class Contentchild extends APIv1_Controller parent::__construct(); // Load model ContentchildModel $this->load->model('content/contentchild_model', 'ContentchildModel'); - // Load set the uid of the model to let to check the permissions - $this->ContentchildModel->setUID($this->_getUID()); } /** diff --git a/application/controllers/api/v1/content/Contentgruppe.php b/application/controllers/api/v1/content/Contentgruppe.php index f9b78b74f..420dd51f5 100644 --- a/application/controllers/api/v1/content/Contentgruppe.php +++ b/application/controllers/api/v1/content/Contentgruppe.php @@ -24,8 +24,6 @@ class Contentgruppe extends APIv1_Controller parent::__construct(); // Load model ContentgruppeModel $this->load->model('content/contentgruppe_model', 'ContentgruppeModel'); - // Load set the uid of the model to let to check the permissions - $this->ContentgruppeModel->setUID($this->_getUID()); } /** diff --git a/application/controllers/api/v1/content/Contentlog.php b/application/controllers/api/v1/content/Contentlog.php index 9faf3ad85..b5b3aba68 100644 --- a/application/controllers/api/v1/content/Contentlog.php +++ b/application/controllers/api/v1/content/Contentlog.php @@ -24,8 +24,6 @@ class Contentlog extends APIv1_Controller parent::__construct(); // Load model ContentlogModel $this->load->model('content/contentlog_model', 'ContentlogModel'); - // Load set the uid of the model to let to check the permissions - $this->ContentlogModel->setUID($this->_getUID()); } /** diff --git a/application/controllers/api/v1/content/Contentsprache.php b/application/controllers/api/v1/content/Contentsprache.php index aa02c5807..78c67c6c3 100644 --- a/application/controllers/api/v1/content/Contentsprache.php +++ b/application/controllers/api/v1/content/Contentsprache.php @@ -24,8 +24,6 @@ class Contentsprache extends APIv1_Controller parent::__construct(); // Load model ContentspracheModel $this->load->model('content/contentsprache_model', 'ContentspracheModel'); - // Load set the uid of the model to let to check the permissions - $this->ContentspracheModel->setUID($this->_getUID()); } /** diff --git a/application/controllers/api/v1/content/Dms.php b/application/controllers/api/v1/content/Dms.php index 5800832f1..964c6fe8f 100644 --- a/application/controllers/api/v1/content/Dms.php +++ b/application/controllers/api/v1/content/Dms.php @@ -26,10 +26,6 @@ class Dms extends APIv1_Controller $this->load->model('content/Dms_model', 'DmsModel'); $this->load->model('content/DmsVersion_model', 'DmsVersionModel'); $this->load->model('content/DmsFS_model', 'DmsFSModel'); - // Set the uid of the model to let to check the permissions - $this->DmsModel->setUID($this->_getUID()); - $this->DmsVersionModel->setUID($this->_getUID()); - $this->DmsFSModel->setUID($this->_getUID()); } /** diff --git a/application/controllers/api/v1/content/Infoscreen.php b/application/controllers/api/v1/content/Infoscreen.php index 6e859ca5a..e7dc12d81 100644 --- a/application/controllers/api/v1/content/Infoscreen.php +++ b/application/controllers/api/v1/content/Infoscreen.php @@ -24,8 +24,6 @@ class Infoscreen extends APIv1_Controller parent::__construct(); // Load model InfoscreenModel $this->load->model('content/infoscreen_model', 'InfoscreenModel'); - // Load set the uid of the model to let to check the permissions - $this->InfoscreenModel->setUID($this->_getUID()); } /** diff --git a/application/controllers/api/v1/content/News.php b/application/controllers/api/v1/content/News.php index 346faca11..f8dd80008 100644 --- a/application/controllers/api/v1/content/News.php +++ b/application/controllers/api/v1/content/News.php @@ -24,8 +24,6 @@ class News extends APIv1_Controller parent::__construct(); // Load model NewsModel $this->load->model('content/news_model', 'NewsModel'); - // Load set the uid of the model to let to check the permissions - $this->NewsModel->setUID($this->_getUID()); } /** diff --git a/application/controllers/api/v1/content/Template.php b/application/controllers/api/v1/content/Template.php index 5f67af4d0..41a54af72 100644 --- a/application/controllers/api/v1/content/Template.php +++ b/application/controllers/api/v1/content/Template.php @@ -24,8 +24,6 @@ class Template extends APIv1_Controller parent::__construct(); // Load model TemplateModel $this->load->model('content/template_model', 'TemplateModel'); - // Load set the uid of the model to let to check the permissions - $this->TemplateModel->setUID($this->_getUID()); } /** diff --git a/application/controllers/api/v1/content/Veranstaltung.php b/application/controllers/api/v1/content/Veranstaltung.php index ea5ccc19f..c21febf8d 100644 --- a/application/controllers/api/v1/content/Veranstaltung.php +++ b/application/controllers/api/v1/content/Veranstaltung.php @@ -24,8 +24,6 @@ class Veranstaltung extends APIv1_Controller parent::__construct(); // Load model VeranstaltungModel $this->load->model('content/veranstaltung_model', 'VeranstaltungModel'); - // Load set the uid of the model to let to check the permissions - $this->VeranstaltungModel->setUID($this->_getUID()); } /** diff --git a/application/controllers/api/v1/content/Veranstaltungskategorie.php b/application/controllers/api/v1/content/Veranstaltungskategorie.php index ffc9a32bd..dd867b4db 100644 --- a/application/controllers/api/v1/content/Veranstaltungskategorie.php +++ b/application/controllers/api/v1/content/Veranstaltungskategorie.php @@ -24,8 +24,6 @@ class Veranstaltungskategorie extends APIv1_Controller parent::__construct(); // Load model VeranstaltungskategorieModel $this->load->model('content/veranstaltungskategorie_model', 'VeranstaltungskategorieModel'); - // Load set the uid of the model to let to check the permissions - $this->VeranstaltungskategorieModel->setUID($this->_getUID()); } /** diff --git a/application/controllers/api/v1/crm/Akte.php b/application/controllers/api/v1/crm/Akte.php index 9569cc68d..853ef32f1 100644 --- a/application/controllers/api/v1/crm/Akte.php +++ b/application/controllers/api/v1/crm/Akte.php @@ -24,8 +24,8 @@ class Akte extends APIv1_Controller parent::__construct(); // Load model AkteModel $this->load->model('crm/akte_model', 'AkteModel'); - // Load set the uid of the model to let to check the permissions - $this->AkteModel->setUID($this->_getUID()); + + } /** diff --git a/application/controllers/api/v1/crm/Aufnahmeschluessel.php b/application/controllers/api/v1/crm/Aufnahmeschluessel.php index 935a89fb6..a746e2bdf 100644 --- a/application/controllers/api/v1/crm/Aufnahmeschluessel.php +++ b/application/controllers/api/v1/crm/Aufnahmeschluessel.php @@ -24,8 +24,8 @@ class Aufnahmeschluessel extends APIv1_Controller parent::__construct(); // Load model AufnahmeschluesselModel $this->load->model('crm/aufnahmeschluessel_model', 'AufnahmeschluesselModel'); - // Load set the uid of the model to let to check the permissions - $this->AufnahmeschluesselModel->setUID($this->_getUID()); + + } /** diff --git a/application/controllers/api/v1/crm/Aufnahmetermin.php b/application/controllers/api/v1/crm/Aufnahmetermin.php index 1d96aface..798eac728 100644 --- a/application/controllers/api/v1/crm/Aufnahmetermin.php +++ b/application/controllers/api/v1/crm/Aufnahmetermin.php @@ -24,8 +24,8 @@ class Aufnahmetermin extends APIv1_Controller parent::__construct(); // Load model AufnahmeterminModel $this->load->model('crm/aufnahmetermin_model', 'AufnahmeterminModel'); - // Load set the uid of the model to let to check the permissions - $this->AufnahmeterminModel->setUID($this->_getUID()); + + } /** diff --git a/application/controllers/api/v1/crm/Aufnahmetermintyp.php b/application/controllers/api/v1/crm/Aufnahmetermintyp.php index f7ffd419d..dab29d678 100644 --- a/application/controllers/api/v1/crm/Aufnahmetermintyp.php +++ b/application/controllers/api/v1/crm/Aufnahmetermintyp.php @@ -24,8 +24,8 @@ class Aufnahmetermintyp extends APIv1_Controller parent::__construct(); // Load model AufnahmetermintypModel $this->load->model('crm/aufnahmetermintyp_model', 'AufnahmetermintypModel'); - // Load set the uid of the model to let to check the permissions - $this->AufnahmetermintypModel->setUID($this->_getUID()); + + } /** diff --git a/application/controllers/api/v1/crm/Bewerbungstermine.php b/application/controllers/api/v1/crm/Bewerbungstermine.php index 28c07dc98..6c2fbd79c 100644 --- a/application/controllers/api/v1/crm/Bewerbungstermine.php +++ b/application/controllers/api/v1/crm/Bewerbungstermine.php @@ -24,8 +24,8 @@ class Bewerbungstermine extends APIv1_Controller parent::__construct(); // Load model BewerbungstermineModel $this->load->model('crm/bewerbungstermine_model', 'BewerbungstermineModel'); - // Load set the uid of the model to let to check the permissions - $this->BewerbungstermineModel->setUID($this->_getUID()); + + } /** diff --git a/application/controllers/api/v1/crm/Buchungstyp.php b/application/controllers/api/v1/crm/Buchungstyp.php index 73be5f666..bb3fa3e6b 100644 --- a/application/controllers/api/v1/crm/Buchungstyp.php +++ b/application/controllers/api/v1/crm/Buchungstyp.php @@ -24,8 +24,8 @@ class Buchungstyp extends APIv1_Controller parent::__construct(); // Load model BuchungstypModel $this->load->model('crm/buchungstyp_model', 'BuchungstypModel'); - // Load set the uid of the model to let to check the permissions - $this->BuchungstypModel->setUID($this->_getUID()); + + } /** diff --git a/application/controllers/api/v1/crm/Dokument.php b/application/controllers/api/v1/crm/Dokument.php index fd8c80b37..ff852f139 100644 --- a/application/controllers/api/v1/crm/Dokument.php +++ b/application/controllers/api/v1/crm/Dokument.php @@ -24,8 +24,8 @@ class Dokument extends APIv1_Controller parent::__construct(); // Load model DokumentModel $this->load->model('crm/dokument_model', 'DokumentModel'); - // Load set the uid of the model to let to check the permissions - $this->DokumentModel->setUID($this->_getUID()); + + } /** diff --git a/application/controllers/api/v1/crm/Dokumentprestudent.php b/application/controllers/api/v1/crm/Dokumentprestudent.php index 7a9fe6c2c..46aa8186c 100644 --- a/application/controllers/api/v1/crm/Dokumentprestudent.php +++ b/application/controllers/api/v1/crm/Dokumentprestudent.php @@ -24,8 +24,8 @@ class Dokumentprestudent extends APIv1_Controller parent::__construct(); // Load model DokumentprestudentModel $this->load->model('crm/dokumentprestudent_model', 'DokumentprestudentModel'); - // Load set the uid of the model to let to check the permissions - $this->DokumentprestudentModel->setUID($this->_getUID()); + + } /** diff --git a/application/controllers/api/v1/crm/Dokumentstudiengang.php b/application/controllers/api/v1/crm/Dokumentstudiengang.php index 22fee1803..35f86ae10 100644 --- a/application/controllers/api/v1/crm/Dokumentstudiengang.php +++ b/application/controllers/api/v1/crm/Dokumentstudiengang.php @@ -24,8 +24,8 @@ class Dokumentstudiengang extends APIv1_Controller parent::__construct(); // Load model DokumentstudiengangModel $this->load->model('crm/dokumentstudiengang_model', 'DokumentstudiengangModel'); - // Load set the uid of the model to let to check the permissions - $this->DokumentstudiengangModel->setUID($this->_getUID()); + + } /** diff --git a/application/controllers/api/v1/crm/Konto.php b/application/controllers/api/v1/crm/Konto.php index d63bee9b4..cbff97753 100644 --- a/application/controllers/api/v1/crm/Konto.php +++ b/application/controllers/api/v1/crm/Konto.php @@ -24,8 +24,8 @@ class Konto extends APIv1_Controller parent::__construct(); // Load model KontoModel $this->load->model('crm/konto_model', 'KontoModel'); - // Load set the uid of the model to let to check the permissions - $this->KontoModel->setUID($this->_getUID()); + + } /** diff --git a/application/controllers/api/v1/crm/Preincoming.php b/application/controllers/api/v1/crm/Preincoming.php index f7df3c5f5..42f305a57 100644 --- a/application/controllers/api/v1/crm/Preincoming.php +++ b/application/controllers/api/v1/crm/Preincoming.php @@ -24,8 +24,8 @@ class Preincoming extends APIv1_Controller parent::__construct(); // Load model PreincomingModel $this->load->model('crm/preincoming_model', 'PreincomingModel'); - // Load set the uid of the model to let to check the permissions - $this->PreincomingModel->setUID($this->_getUID()); + + } /** diff --git a/application/controllers/api/v1/crm/Preinteressent.php b/application/controllers/api/v1/crm/Preinteressent.php index f6e781e60..39f897df3 100644 --- a/application/controllers/api/v1/crm/Preinteressent.php +++ b/application/controllers/api/v1/crm/Preinteressent.php @@ -24,8 +24,8 @@ class Preinteressent extends APIv1_Controller parent::__construct(); // Load model PersonModel $this->load->model('crm/preinteressent_model', 'PreinteressentModel'); - // Load set the uid of the model to let to check the permissions - $this->PreinteressentModel->setUID($this->_getUID()); + + } /** diff --git a/application/controllers/api/v1/crm/Preinteressentstudiengang.php b/application/controllers/api/v1/crm/Preinteressentstudiengang.php index dc82971ba..b4de9b3ab 100644 --- a/application/controllers/api/v1/crm/Preinteressentstudiengang.php +++ b/application/controllers/api/v1/crm/Preinteressentstudiengang.php @@ -24,8 +24,8 @@ class Preinteressentstudiengang extends APIv1_Controller parent::__construct(); // Load model PreinteressentstudiengangModel $this->load->model('crm/preinteressentstudiengang_model', 'PreinteressentstudiengangModel'); - // Load set the uid of the model to let to check the permissions - $this->PreinteressentstudiengangModel->setUID($this->_getUID()); + + } /** diff --git a/application/controllers/api/v1/crm/Preoutgoing.php b/application/controllers/api/v1/crm/Preoutgoing.php index 885b74c8d..821befb91 100644 --- a/application/controllers/api/v1/crm/Preoutgoing.php +++ b/application/controllers/api/v1/crm/Preoutgoing.php @@ -24,8 +24,8 @@ class Preoutgoing extends APIv1_Controller parent::__construct(); // Load model PreoutgoingModel $this->load->model('crm/preoutgoing_model', 'PreoutgoingModel'); - // Load set the uid of the model to let to check the permissions - $this->PreoutgoingModel->setUID($this->_getUID()); + + } /** diff --git a/application/controllers/api/v1/crm/Prestudent.php b/application/controllers/api/v1/crm/Prestudent.php index 9cdf79415..bf1ada78c 100644 --- a/application/controllers/api/v1/crm/Prestudent.php +++ b/application/controllers/api/v1/crm/Prestudent.php @@ -24,8 +24,8 @@ class Prestudent extends APIv1_Controller parent::__construct(); // Load model PrestudentModel $this->load->model('crm/prestudent_model', 'PrestudentModel'); - // Load set the uid of the model to let to check the permissions - $this->PrestudentModel->setUID($this->_getUID()); + + } /** diff --git a/application/controllers/api/v1/crm/Prestudentstatus.php b/application/controllers/api/v1/crm/Prestudentstatus.php index 5d9718b3d..8c415f942 100644 --- a/application/controllers/api/v1/crm/Prestudentstatus.php +++ b/application/controllers/api/v1/crm/Prestudentstatus.php @@ -24,8 +24,8 @@ class Prestudentstatus extends APIv1_Controller parent::__construct(); // Load model PrestudentstatusModel $this->load->model('crm/prestudentstatus_model', 'PrestudentstatusModel'); - // Load set the uid of the model to let to check the permissions - $this->PrestudentstatusModel->setUID($this->_getUID()); + + } /** diff --git a/application/controllers/api/v1/crm/Reihungstest.php b/application/controllers/api/v1/crm/Reihungstest.php index 60c521256..d8c3496f4 100644 --- a/application/controllers/api/v1/crm/Reihungstest.php +++ b/application/controllers/api/v1/crm/Reihungstest.php @@ -24,8 +24,8 @@ class Reihungstest extends APIv1_Controller parent::__construct(); // Load model ReihungstestModel $this->load->model('crm/reihungstest_model', 'ReihungstestModel'); - // Load set the uid of the model to let to check the permissions - $this->ReihungstestModel->setUID($this->_getUID()); + + } /** diff --git a/application/controllers/api/v1/crm/Status.php b/application/controllers/api/v1/crm/Status.php index b7dda0cce..4eb1b1834 100644 --- a/application/controllers/api/v1/crm/Status.php +++ b/application/controllers/api/v1/crm/Status.php @@ -24,8 +24,8 @@ class Status extends APIv1_Controller parent::__construct(); // Load model StatusModel $this->load->model('crm/status_model', 'StatusModel'); - // Load set the uid of the model to let to check the permissions - $this->StatusModel->setUID($this->_getUID()); + + } /** diff --git a/application/controllers/api/v1/crm/Student.php b/application/controllers/api/v1/crm/Student.php index d0bd7c5a1..c95e4b16f 100644 --- a/application/controllers/api/v1/crm/Student.php +++ b/application/controllers/api/v1/crm/Student.php @@ -24,8 +24,8 @@ class Student extends APIv1_Controller parent::__construct(); // Load model StudentModel $this->load->model('crm/student_model', 'StudentModel'); - // Load set the uid of the model to let to check the permissions - $this->StudentModel->setUID($this->_getUID()); + + } /** diff --git a/application/controllers/api/v1/education/Abgabe.php b/application/controllers/api/v1/education/Abgabe.php index a7604a264..bdcd1b634 100644 --- a/application/controllers/api/v1/education/Abgabe.php +++ b/application/controllers/api/v1/education/Abgabe.php @@ -24,8 +24,8 @@ class Abgabe extends APIv1_Controller parent::__construct(); // Load model AbgabeModel $this->load->model('education/abgabe', 'AbgabeModel'); - // Load set the uid of the model to let to check the permissions - $this->AbgabeModel->setUID($this->_getUID()); + + } /** diff --git a/application/controllers/api/v1/education/Abschlussbeurteilung.php b/application/controllers/api/v1/education/Abschlussbeurteilung.php index 6de5e6e46..a16b48f2e 100644 --- a/application/controllers/api/v1/education/Abschlussbeurteilung.php +++ b/application/controllers/api/v1/education/Abschlussbeurteilung.php @@ -24,8 +24,8 @@ class Abschlussbeurteilung extends APIv1_Controller parent::__construct(); // Load model AbschlussbeurteilungModel $this->load->model('education/abschlussbeurteilung', 'AbschlussbeurteilungModel'); - // Load set the uid of the model to let to check the permissions - $this->AbschlussbeurteilungModel->setUID($this->_getUID()); + + } /** diff --git a/application/controllers/api/v1/education/Abschlusspruefung.php b/application/controllers/api/v1/education/Abschlusspruefung.php index 6c1f03caa..c0fbacf5a 100644 --- a/application/controllers/api/v1/education/Abschlusspruefung.php +++ b/application/controllers/api/v1/education/Abschlusspruefung.php @@ -24,8 +24,8 @@ class Abschlusspruefung extends APIv1_Controller parent::__construct(); // Load model AbschlusspruefungModel $this->load->model('education/abschlusspruefung', 'AbschlusspruefungModel'); - // Load set the uid of the model to let to check the permissions - $this->AbschlusspruefungModel->setUID($this->_getUID()); + + } /** diff --git a/application/controllers/api/v1/education/Anrechnung.php b/application/controllers/api/v1/education/Anrechnung.php index 4d73de092..943b97022 100644 --- a/application/controllers/api/v1/education/Anrechnung.php +++ b/application/controllers/api/v1/education/Anrechnung.php @@ -24,8 +24,8 @@ class Anrechnung extends APIv1_Controller parent::__construct(); // Load model AnrechnungModel $this->load->model('education/anrechnung', 'AnrechnungModel'); - // Load set the uid of the model to let to check the permissions - $this->AnrechnungModel->setUID($this->_getUID()); + + } /** diff --git a/application/controllers/api/v1/education/Anwesenheit.php b/application/controllers/api/v1/education/Anwesenheit.php index ff1be2316..64bec9a78 100644 --- a/application/controllers/api/v1/education/Anwesenheit.php +++ b/application/controllers/api/v1/education/Anwesenheit.php @@ -24,8 +24,8 @@ class Anwesenheit extends APIv1_Controller parent::__construct(); // Load model AnwesenheitModel $this->load->model('education/anwesenheit', 'AnwesenheitModel'); - // Load set the uid of the model to let to check the permissions - $this->AnwesenheitModel->setUID($this->_getUID()); + + } /** diff --git a/application/controllers/api/v1/education/Beispiel.php b/application/controllers/api/v1/education/Beispiel.php index a1fa0df43..62a9d0ca9 100644 --- a/application/controllers/api/v1/education/Beispiel.php +++ b/application/controllers/api/v1/education/Beispiel.php @@ -24,8 +24,8 @@ class Beispiel extends APIv1_Controller parent::__construct(); // Load model BeispielModel $this->load->model('education/beispiel', 'BeispielModel'); - // Load set the uid of the model to let to check the permissions - $this->BeispielModel->setUID($this->_getUID()); + + } /** diff --git a/application/controllers/api/v1/education/Betreuerart.php b/application/controllers/api/v1/education/Betreuerart.php index 9ed23491d..21206695a 100644 --- a/application/controllers/api/v1/education/Betreuerart.php +++ b/application/controllers/api/v1/education/Betreuerart.php @@ -24,8 +24,8 @@ class Betreuerart extends APIv1_Controller parent::__construct(); // Load model BetreuerartModel $this->load->model('education/betreuerart', 'BetreuerartModel'); - // Load set the uid of the model to let to check the permissions - $this->BetreuerartModel->setUID($this->_getUID()); + + } /** diff --git a/application/controllers/api/v1/education/Feedback.php b/application/controllers/api/v1/education/Feedback.php index 3d62d7618..553157df9 100644 --- a/application/controllers/api/v1/education/Feedback.php +++ b/application/controllers/api/v1/education/Feedback.php @@ -24,8 +24,8 @@ class Feedback extends APIv1_Controller parent::__construct(); // Load model FeedbackModel $this->load->model('education/feedback', 'FeedbackModel'); - // Load set the uid of the model to let to check the permissions - $this->FeedbackModel->setUID($this->_getUID()); + + } /** diff --git a/application/controllers/api/v1/education/LeNotenschluessel.php b/application/controllers/api/v1/education/LeNotenschluessel.php index 8d340ccc2..d2af36602 100644 --- a/application/controllers/api/v1/education/LeNotenschluessel.php +++ b/application/controllers/api/v1/education/LeNotenschluessel.php @@ -24,8 +24,8 @@ class LeNotenschluessel extends APIv1_Controller parent::__construct(); // Load model LeNotenschluesselModel $this->load->model('education/lenotenschluessel', 'LeNotenschluesselModel'); - // Load set the uid of the model to let to check the permissions - $this->LeNotenschluesselModel->setUID($this->_getUID()); + + } /** diff --git a/application/controllers/api/v1/education/LePruefung.php b/application/controllers/api/v1/education/LePruefung.php index de7641a4c..52f8f4428 100644 --- a/application/controllers/api/v1/education/LePruefung.php +++ b/application/controllers/api/v1/education/LePruefung.php @@ -24,8 +24,8 @@ class LePruefung extends APIv1_Controller parent::__construct(); // Load model LePruefungModel $this->load->model('education/lepruefung', 'LePruefungModel'); - // Load set the uid of the model to let to check the permissions - $this->LePruefungModel->setUID($this->_getUID()); + + } /** diff --git a/application/controllers/api/v1/education/Legesamtnote.php b/application/controllers/api/v1/education/Legesamtnote.php index 6f100b43a..35f7f8307 100644 --- a/application/controllers/api/v1/education/Legesamtnote.php +++ b/application/controllers/api/v1/education/Legesamtnote.php @@ -24,8 +24,8 @@ class Legesamtnote extends APIv1_Controller parent::__construct(); // Load model LegesamtnoteModel $this->load->model('education/legesamtnote', 'LegesamtnoteModel'); - // Load set the uid of the model to let to check the permissions - $this->LegesamtnoteModel->setUID($this->_getUID()); + + } /** diff --git a/application/controllers/api/v1/education/Lehreinheit.php b/application/controllers/api/v1/education/Lehreinheit.php index 30f0adc0f..b558294df 100644 --- a/application/controllers/api/v1/education/Lehreinheit.php +++ b/application/controllers/api/v1/education/Lehreinheit.php @@ -24,8 +24,8 @@ class Lehreinheit extends APIv1_Controller parent::__construct(); // Load model LehreinheitModel $this->load->model('education/lehreinheit', 'LehreinheitModel'); - // Load set the uid of the model to let to check the permissions - $this->LehreinheitModel->setUID($this->_getUID()); + + } /** diff --git a/application/controllers/api/v1/education/Lehreinheitgruppe.php b/application/controllers/api/v1/education/Lehreinheitgruppe.php index 2a25f73f6..650ccfdeb 100644 --- a/application/controllers/api/v1/education/Lehreinheitgruppe.php +++ b/application/controllers/api/v1/education/Lehreinheitgruppe.php @@ -24,8 +24,8 @@ class Lehreinheitgruppe extends APIv1_Controller parent::__construct(); // Load model LehreinheitgruppeModel $this->load->model('education/lehreinheitgruppe', 'LehreinheitgruppeModel'); - // Load set the uid of the model to let to check the permissions - $this->LehreinheitgruppeModel->setUID($this->_getUID()); + + } /** diff --git a/application/controllers/api/v1/education/Lehreinheitmitarbeiter.php b/application/controllers/api/v1/education/Lehreinheitmitarbeiter.php index fd20bb131..29788b2e8 100644 --- a/application/controllers/api/v1/education/Lehreinheitmitarbeiter.php +++ b/application/controllers/api/v1/education/Lehreinheitmitarbeiter.php @@ -24,8 +24,8 @@ class Lehreinheitmitarbeiter extends APIv1_Controller parent::__construct(); // Load model LehreinheitmitarbeiterModel $this->load->model('education/lehreinheitmitarbeiter', 'LehreinheitmitarbeiterModel'); - // Load set the uid of the model to let to check the permissions - $this->LehreinheitmitarbeiterModel->setUID($this->_getUID()); + + } /** diff --git a/application/controllers/api/v1/education/Lehrfach.php b/application/controllers/api/v1/education/Lehrfach.php index f05b3c074..cf3398e81 100644 --- a/application/controllers/api/v1/education/Lehrfach.php +++ b/application/controllers/api/v1/education/Lehrfach.php @@ -24,8 +24,8 @@ class Lehrfach extends APIv1_Controller parent::__construct(); // Load model LehrfachModel $this->load->model('education/lehrfach', 'LehrfachModel'); - // Load set the uid of the model to let to check the permissions - $this->LehrfachModel->setUID($this->_getUID()); + + } /** diff --git a/application/controllers/api/v1/education/Lehrfunktion.php b/application/controllers/api/v1/education/Lehrfunktion.php index 3941327f2..9a2995220 100644 --- a/application/controllers/api/v1/education/Lehrfunktion.php +++ b/application/controllers/api/v1/education/Lehrfunktion.php @@ -24,8 +24,8 @@ class Lehrfunktion extends APIv1_Controller parent::__construct(); // Load model LehrfunktionModel $this->load->model('education/lehrfunktion', 'LehrfunktionModel'); - // Load set the uid of the model to let to check the permissions - $this->LehrfunktionModel->setUID($this->_getUID()); + + } /** diff --git a/application/controllers/api/v1/education/Lehrtyp.php b/application/controllers/api/v1/education/Lehrtyp.php index b084d65da..741ec0e48 100644 --- a/application/controllers/api/v1/education/Lehrtyp.php +++ b/application/controllers/api/v1/education/Lehrtyp.php @@ -24,8 +24,8 @@ class Lehrtyp extends APIv1_Controller parent::__construct(); // Load model LehrtypModel $this->load->model('education/lehrtyp', 'LehrtypModel'); - // Load set the uid of the model to let to check the permissions - $this->LehrtypModel->setUID($this->_getUID()); + + } /** diff --git a/application/controllers/api/v1/education/Lehrveranstaltung.php b/application/controllers/api/v1/education/Lehrveranstaltung.php index fe88f2749..ef564c81d 100644 --- a/application/controllers/api/v1/education/Lehrveranstaltung.php +++ b/application/controllers/api/v1/education/Lehrveranstaltung.php @@ -24,8 +24,8 @@ class Lehrveranstaltung extends APIv1_Controller parent::__construct(); // Load model LehrveranstaltungModel $this->load->model('education/lehrveranstaltung', 'LehrveranstaltungModel'); - // Load set the uid of the model to let to check the permissions - $this->LehrveranstaltungModel->setUID($this->_getUID()); + + } /** diff --git a/application/controllers/api/v1/education/Lvangebot.php b/application/controllers/api/v1/education/Lvangebot.php index 21ad945df..a4faaf06f 100644 --- a/application/controllers/api/v1/education/Lvangebot.php +++ b/application/controllers/api/v1/education/Lvangebot.php @@ -24,8 +24,8 @@ class Lvangebot extends APIv1_Controller parent::__construct(); // Load model LvangebotModel $this->load->model('education/lvangebot', 'LvangebotModel'); - // Load set the uid of the model to let to check the permissions - $this->LvangebotModel->setUID($this->_getUID()); + + } /** diff --git a/application/controllers/api/v1/education/Lvgesamtnote.php b/application/controllers/api/v1/education/Lvgesamtnote.php index d9ea9ae06..866e23ddb 100644 --- a/application/controllers/api/v1/education/Lvgesamtnote.php +++ b/application/controllers/api/v1/education/Lvgesamtnote.php @@ -24,8 +24,8 @@ class Lvgesamtnote extends APIv1_Controller parent::__construct(); // Load model LvgesamtnoteModel $this->load->model('education/lvgesamtnote', 'LvgesamtnoteModel'); - // Load set the uid of the model to let to check the permissions - $this->LvgesamtnoteModel->setUID($this->_getUID()); + + } /** diff --git a/application/controllers/api/v1/education/Lvinfo.php b/application/controllers/api/v1/education/Lvinfo.php index 01d96ec92..a3a61d848 100644 --- a/application/controllers/api/v1/education/Lvinfo.php +++ b/application/controllers/api/v1/education/Lvinfo.php @@ -24,8 +24,8 @@ class Lvinfo extends APIv1_Controller parent::__construct(); // Load model LvinfoModel $this->load->model('education/lvinfo', 'LvinfoModel'); - // Load set the uid of the model to let to check the permissions - $this->LvinfoModel->setUID($this->_getUID()); + + } /** diff --git a/application/controllers/api/v1/education/Lvregel.php b/application/controllers/api/v1/education/Lvregel.php index d0795813b..278e17b77 100644 --- a/application/controllers/api/v1/education/Lvregel.php +++ b/application/controllers/api/v1/education/Lvregel.php @@ -24,8 +24,8 @@ class Lvregel extends APIv1_Controller parent::__construct(); // Load model LvregelModel $this->load->model('education/lvregel', 'LvregelModel'); - // Load set the uid of the model to let to check the permissions - $this->LvregelModel->setUID($this->_getUID()); + + } /** diff --git a/application/controllers/api/v1/education/Lvregeltyp.php b/application/controllers/api/v1/education/Lvregeltyp.php index f75be3c56..ffcead2d7 100644 --- a/application/controllers/api/v1/education/Lvregeltyp.php +++ b/application/controllers/api/v1/education/Lvregeltyp.php @@ -24,8 +24,8 @@ class Lvregeltyp extends APIv1_Controller parent::__construct(); // Load model LvregeltypModel $this->load->model('education/lvregeltyp', 'LvregeltypModel'); - // Load set the uid of the model to let to check the permissions - $this->LvregeltypModel->setUID($this->_getUID()); + + } /** diff --git a/application/controllers/api/v1/education/Moodle.php b/application/controllers/api/v1/education/Moodle.php index 6596e5ad1..4a26a0db2 100644 --- a/application/controllers/api/v1/education/Moodle.php +++ b/application/controllers/api/v1/education/Moodle.php @@ -24,8 +24,8 @@ class Moodle extends APIv1_Controller parent::__construct(); // Load model MoodleModel $this->load->model('education/moodle', 'MoodleModel'); - // Load set the uid of the model to let to check the permissions - $this->MoodleModel->setUID($this->_getUID()); + + } /** diff --git a/application/controllers/api/v1/education/Notenschluessel.php b/application/controllers/api/v1/education/Notenschluessel.php index d3372375e..051cbbd7d 100644 --- a/application/controllers/api/v1/education/Notenschluessel.php +++ b/application/controllers/api/v1/education/Notenschluessel.php @@ -24,8 +24,8 @@ class Notenschluessel extends APIv1_Controller parent::__construct(); // Load model NotenschluesselModel $this->load->model('education/notenschluessel', 'NotenschluesselModel'); - // Load set the uid of the model to let to check the permissions - $this->NotenschluesselModel->setUID($this->_getUID()); + + } /** diff --git a/application/controllers/api/v1/education/Notenschluesselaufteilung.php b/application/controllers/api/v1/education/Notenschluesselaufteilung.php index d98a3c97b..f51f819a3 100644 --- a/application/controllers/api/v1/education/Notenschluesselaufteilung.php +++ b/application/controllers/api/v1/education/Notenschluesselaufteilung.php @@ -24,8 +24,8 @@ class Notenschluesselaufteilung extends APIv1_Controller parent::__construct(); // Load model NotenschluesselaufteilungModel $this->load->model('education/notenschluesselaufteilung', 'NotenschluesselaufteilungModel'); - // Load set the uid of the model to let to check the permissions - $this->NotenschluesselaufteilungModel->setUID($this->_getUID()); + + } /** diff --git a/application/controllers/api/v1/education/Notenschluesseluebung.php b/application/controllers/api/v1/education/Notenschluesseluebung.php index 2699dad58..1bcd2ca37 100644 --- a/application/controllers/api/v1/education/Notenschluesseluebung.php +++ b/application/controllers/api/v1/education/Notenschluesseluebung.php @@ -24,8 +24,8 @@ class Notenschluesseluebung extends APIv1_Controller parent::__construct(); // Load model NotenschluesseluebungModel $this->load->model('education/notenschluesseluebung', 'NotenschluesseluebungModel'); - // Load set the uid of the model to let to check the permissions - $this->NotenschluesseluebungModel->setUID($this->_getUID()); + + } /** diff --git a/application/controllers/api/v1/education/Notenschluesselzuordnung.php b/application/controllers/api/v1/education/Notenschluesselzuordnung.php index 1ee0ccce8..a62497106 100644 --- a/application/controllers/api/v1/education/Notenschluesselzuordnung.php +++ b/application/controllers/api/v1/education/Notenschluesselzuordnung.php @@ -24,8 +24,8 @@ class Notenschluesselzuordnung extends APIv1_Controller parent::__construct(); // Load model NotenschluesselzuordnungModel $this->load->model('education/notenschluesselzuordnung', 'NotenschluesselzuordnungModel'); - // Load set the uid of the model to let to check the permissions - $this->NotenschluesselzuordnungModel->setUID($this->_getUID()); + + } /** diff --git a/application/controllers/api/v1/education/Paabgabe.php b/application/controllers/api/v1/education/Paabgabe.php index e67253fbb..542bbce10 100644 --- a/application/controllers/api/v1/education/Paabgabe.php +++ b/application/controllers/api/v1/education/Paabgabe.php @@ -24,8 +24,8 @@ class Paabgabe extends APIv1_Controller parent::__construct(); // Load model PaabgabeModel $this->load->model('education/paabgabe', 'PaabgabeModel'); - // Load set the uid of the model to let to check the permissions - $this->PaabgabeModel->setUID($this->_getUID()); + + } /** diff --git a/application/controllers/api/v1/education/Paabgabetyp.php b/application/controllers/api/v1/education/Paabgabetyp.php index 5a93d9f08..7e17dd0c8 100644 --- a/application/controllers/api/v1/education/Paabgabetyp.php +++ b/application/controllers/api/v1/education/Paabgabetyp.php @@ -24,8 +24,8 @@ class Paabgabetyp extends APIv1_Controller parent::__construct(); // Load model PaabgabetypModel $this->load->model('education/paabgabetyp', 'PaabgabetypModel'); - // Load set the uid of the model to let to check the permissions - $this->PaabgabetypModel->setUID($this->_getUID()); + + } /** diff --git a/application/controllers/api/v1/education/Projektarbeit.php b/application/controllers/api/v1/education/Projektarbeit.php index 28f7922f5..6e3aa2bb1 100644 --- a/application/controllers/api/v1/education/Projektarbeit.php +++ b/application/controllers/api/v1/education/Projektarbeit.php @@ -24,8 +24,8 @@ class Projektarbeit extends APIv1_Controller parent::__construct(); // Load model ProjektarbeitModel $this->load->model('education/projektarbeit', 'ProjektarbeitModel'); - // Load set the uid of the model to let to check the permissions - $this->ProjektarbeitModel->setUID($this->_getUID()); + + } /** diff --git a/application/controllers/api/v1/education/Projektbetreuer.php b/application/controllers/api/v1/education/Projektbetreuer.php index 6cf01a208..b60921cd8 100644 --- a/application/controllers/api/v1/education/Projektbetreuer.php +++ b/application/controllers/api/v1/education/Projektbetreuer.php @@ -24,8 +24,8 @@ class Projektbetreuer extends APIv1_Controller parent::__construct(); // Load model ProjektbetreuerModel $this->load->model('education/projektbetreuer', 'ProjektbetreuerModel'); - // Load set the uid of the model to let to check the permissions - $this->ProjektbetreuerModel->setUID($this->_getUID()); + + } /** diff --git a/application/controllers/api/v1/education/Projekttyp.php b/application/controllers/api/v1/education/Projekttyp.php index c254833a2..88de98157 100644 --- a/application/controllers/api/v1/education/Projekttyp.php +++ b/application/controllers/api/v1/education/Projekttyp.php @@ -24,8 +24,8 @@ class Projekttyp extends APIv1_Controller parent::__construct(); // Load model ProjekttypModel $this->load->model('education/projekttyp', 'ProjekttypModel'); - // Load set the uid of the model to let to check the permissions - $this->ProjekttypModel->setUID($this->_getUID()); + + } /** diff --git a/application/controllers/api/v1/education/Pruefung.php b/application/controllers/api/v1/education/Pruefung.php index 6c0a44049..00b76d118 100644 --- a/application/controllers/api/v1/education/Pruefung.php +++ b/application/controllers/api/v1/education/Pruefung.php @@ -24,8 +24,8 @@ class Pruefung extends APIv1_Controller parent::__construct(); // Load model PruefungModel $this->load->model('education/pruefung', 'PruefungModel'); - // Load set the uid of the model to let to check the permissions - $this->PruefungModel->setUID($this->_getUID()); + + } /** diff --git a/application/controllers/api/v1/education/Pruefungsanmeldung.php b/application/controllers/api/v1/education/Pruefungsanmeldung.php index a30d78680..e2c999068 100644 --- a/application/controllers/api/v1/education/Pruefungsanmeldung.php +++ b/application/controllers/api/v1/education/Pruefungsanmeldung.php @@ -24,8 +24,8 @@ class Pruefungsanmeldung extends APIv1_Controller parent::__construct(); // Load model PruefungsanmeldungModel $this->load->model('education/pruefungsanmeldung', 'PruefungsanmeldungModel'); - // Load set the uid of the model to let to check the permissions - $this->PruefungsanmeldungModel->setUID($this->_getUID()); + + } /** diff --git a/application/controllers/api/v1/education/Pruefungsfenster.php b/application/controllers/api/v1/education/Pruefungsfenster.php index 64e6fbbe7..818a74f7b 100644 --- a/application/controllers/api/v1/education/Pruefungsfenster.php +++ b/application/controllers/api/v1/education/Pruefungsfenster.php @@ -24,8 +24,8 @@ class Pruefungsfenster extends APIv1_Controller parent::__construct(); // Load model PruefungsfensterModel $this->load->model('education/pruefungsfenster', 'PruefungsfensterModel'); - // Load set the uid of the model to let to check the permissions - $this->PruefungsfensterModel->setUID($this->_getUID()); + + } /** diff --git a/application/controllers/api/v1/education/Pruefungsstatus.php b/application/controllers/api/v1/education/Pruefungsstatus.php index 5158cac10..026543dac 100644 --- a/application/controllers/api/v1/education/Pruefungsstatus.php +++ b/application/controllers/api/v1/education/Pruefungsstatus.php @@ -24,8 +24,8 @@ class Pruefungsstatus extends APIv1_Controller parent::__construct(); // Load model PruefungsstatusModel $this->load->model('education/pruefungsstatus', 'PruefungsstatusModel'); - // Load set the uid of the model to let to check the permissions - $this->PruefungsstatusModel->setUID($this->_getUID()); + + } /** diff --git a/application/controllers/api/v1/education/Pruefungstermin.php b/application/controllers/api/v1/education/Pruefungstermin.php index e3e1631bc..735f2748b 100644 --- a/application/controllers/api/v1/education/Pruefungstermin.php +++ b/application/controllers/api/v1/education/Pruefungstermin.php @@ -24,8 +24,8 @@ class Pruefungstermin extends APIv1_Controller parent::__construct(); // Load model PruefungsterminModel $this->load->model('education/pruefungstermin', 'PruefungsterminModel'); - // Load set the uid of the model to let to check the permissions - $this->PruefungsterminModel->setUID($this->_getUID()); + + } /** diff --git a/application/controllers/api/v1/education/Pruefungstyp.php b/application/controllers/api/v1/education/Pruefungstyp.php index b4af31f8e..ac053ff20 100644 --- a/application/controllers/api/v1/education/Pruefungstyp.php +++ b/application/controllers/api/v1/education/Pruefungstyp.php @@ -24,8 +24,8 @@ class Pruefungstyp extends APIv1_Controller parent::__construct(); // Load model PruefungstypModel $this->load->model('education/pruefungstyp', 'PruefungstypModel'); - // Load set the uid of the model to let to check the permissions - $this->PruefungstypModel->setUID($this->_getUID()); + + } /** diff --git a/application/controllers/api/v1/education/Studentbeispiel.php b/application/controllers/api/v1/education/Studentbeispiel.php index 02b626cfc..63d6f85e6 100644 --- a/application/controllers/api/v1/education/Studentbeispiel.php +++ b/application/controllers/api/v1/education/Studentbeispiel.php @@ -24,8 +24,8 @@ class Studentbeispiel extends APIv1_Controller parent::__construct(); // Load model StudentbeispielModel $this->load->model('education/studentbeispiel', 'StudentbeispielModel'); - // Load set the uid of the model to let to check the permissions - $this->StudentbeispielModel->setUID($this->_getUID()); + + } /** diff --git a/application/controllers/api/v1/education/Studentlehrverband.php b/application/controllers/api/v1/education/Studentlehrverband.php index 5e9e8cac9..98cb8b8e0 100644 --- a/application/controllers/api/v1/education/Studentlehrverband.php +++ b/application/controllers/api/v1/education/Studentlehrverband.php @@ -24,8 +24,8 @@ class Studentlehrverband extends APIv1_Controller parent::__construct(); // Load model StudentlehrverbandModel $this->load->model('education/studentlehrverband', 'StudentlehrverbandModel'); - // Load set the uid of the model to let to check the permissions - $this->StudentlehrverbandModel->setUID($this->_getUID()); + + } /** diff --git a/application/controllers/api/v1/education/Studentuebung.php b/application/controllers/api/v1/education/Studentuebung.php index cd386732b..3d16ec9b4 100644 --- a/application/controllers/api/v1/education/Studentuebung.php +++ b/application/controllers/api/v1/education/Studentuebung.php @@ -24,8 +24,8 @@ class Studentuebung extends APIv1_Controller parent::__construct(); // Load model StudentuebungModel $this->load->model('education/studentuebung', 'StudentuebungModel'); - // Load set the uid of the model to let to check the permissions - $this->StudentuebungModel->setUID($this->_getUID()); + + } /** diff --git a/application/controllers/api/v1/education/Uebung.php b/application/controllers/api/v1/education/Uebung.php index 95d0fb52d..0a089798c 100644 --- a/application/controllers/api/v1/education/Uebung.php +++ b/application/controllers/api/v1/education/Uebung.php @@ -24,8 +24,8 @@ class Uebung extends APIv1_Controller parent::__construct(); // Load model UebungModel $this->load->model('education/uebung', 'UebungModel'); - // Load set the uid of the model to let to check the permissions - $this->UebungModel->setUID($this->_getUID()); + + } /** diff --git a/application/controllers/api/v1/education/Zeugnis.php b/application/controllers/api/v1/education/Zeugnis.php index f9fbf74a5..76db88263 100644 --- a/application/controllers/api/v1/education/Zeugnis.php +++ b/application/controllers/api/v1/education/Zeugnis.php @@ -24,8 +24,8 @@ class Zeugnis extends APIv1_Controller parent::__construct(); // Load model ZeugnisModel $this->load->model('education/zeugnis', 'ZeugnisModel'); - // Load set the uid of the model to let to check the permissions - $this->ZeugnisModel->setUID($this->_getUID()); + + } /** diff --git a/application/controllers/api/v1/education/Zeugnisnote.php b/application/controllers/api/v1/education/Zeugnisnote.php index 7b6e602ab..a12d32625 100644 --- a/application/controllers/api/v1/education/Zeugnisnote.php +++ b/application/controllers/api/v1/education/Zeugnisnote.php @@ -24,8 +24,8 @@ class Zeugnisnote extends APIv1_Controller parent::__construct(); // Load model ZeugnisnoteModel $this->load->model('education/zeugnisnote', 'ZeugnisnoteModel'); - // Load set the uid of the model to let to check the permissions - $this->ZeugnisnoteModel->setUID($this->_getUID()); + + } /** diff --git a/application/controllers/api/v1/organisation/Erhalter.php b/application/controllers/api/v1/organisation/Erhalter.php index 1e6c730b4..fdfb836a3 100644 --- a/application/controllers/api/v1/organisation/Erhalter.php +++ b/application/controllers/api/v1/organisation/Erhalter.php @@ -24,8 +24,8 @@ class Erhalter extends APIv1_Controller parent::__construct(); // Load model ErhalterModel $this->load->model('organisation/erhalter_model', 'ErhalterModel'); - // Load set the uid of the model to let to check the permissions - $this->ErhalterModel->setUID($this->_getUID()); + + } /** diff --git a/application/controllers/api/v1/organisation/Fachbereich2.php b/application/controllers/api/v1/organisation/Fachbereich2.php index 662298940..dfe9e18c8 100644 --- a/application/controllers/api/v1/organisation/Fachbereich2.php +++ b/application/controllers/api/v1/organisation/Fachbereich2.php @@ -24,8 +24,8 @@ class Fachbereich2 extends APIv1_Controller parent::__construct(); // Load model FachbereichModel $this->load->model('organisation/fachbereich_model', 'FachbereichModel'); - // Load set the uid of the model to let to check the permissions - $this->FachbereichModel->setUID($this->_getUID()); + + } /** diff --git a/application/controllers/api/v1/organisation/Ferien.php b/application/controllers/api/v1/organisation/Ferien.php index 5ecf54756..e4e027da8 100644 --- a/application/controllers/api/v1/organisation/Ferien.php +++ b/application/controllers/api/v1/organisation/Ferien.php @@ -24,8 +24,8 @@ class Ferien extends APIv1_Controller parent::__construct(); // Load model FerienModel $this->load->model('organisation/ferien_model', 'FerienModel'); - // Load set the uid of the model to let to check the permissions - $this->FerienModel->setUID($this->_getUID()); + + } /** diff --git a/application/controllers/api/v1/organisation/Geschaeftsjahr2.php b/application/controllers/api/v1/organisation/Geschaeftsjahr2.php index 61579e457..dc8fd1d0b 100644 --- a/application/controllers/api/v1/organisation/Geschaeftsjahr2.php +++ b/application/controllers/api/v1/organisation/Geschaeftsjahr2.php @@ -24,8 +24,8 @@ class Geschaeftsjahr2 extends APIv1_Controller parent::__construct(); // Load model GeschaeftsjahrModel $this->load->model('organisation/geschaeftsjahr_model', 'GeschaeftsjahrModel'); - // Load set the uid of the model to let to check the permissions - $this->GeschaeftsjahrModel->setUID($this->_getUID()); + + } /** diff --git a/application/controllers/api/v1/organisation/Gruppe.php b/application/controllers/api/v1/organisation/Gruppe.php index 7bf01666a..21a9965b8 100644 --- a/application/controllers/api/v1/organisation/Gruppe.php +++ b/application/controllers/api/v1/organisation/Gruppe.php @@ -24,8 +24,8 @@ class Gruppe extends APIv1_Controller parent::__construct(); // Load model GruppeModel $this->load->model('organisation/gruppe_model', 'GruppeModel'); - // Load set the uid of the model to let to check the permissions - $this->GruppeModel->setUID($this->_getUID()); + + } /** diff --git a/application/controllers/api/v1/organisation/Lehrverband.php b/application/controllers/api/v1/organisation/Lehrverband.php index ce4e04893..3173f025b 100644 --- a/application/controllers/api/v1/organisation/Lehrverband.php +++ b/application/controllers/api/v1/organisation/Lehrverband.php @@ -24,8 +24,8 @@ class Lehrverband extends APIv1_Controller parent::__construct(); // Load model LehrverbandModel $this->load->model('organisation/lehrverband_model', 'LehrverbandModel'); - // Load set the uid of the model to let to check the permissions - $this->LehrverbandModel->setUID($this->_getUID()); + + } /** diff --git a/application/controllers/api/v1/organisation/Organisationseinheit2.php b/application/controllers/api/v1/organisation/Organisationseinheit2.php index 87fa0b2a9..0d46839f0 100644 --- a/application/controllers/api/v1/organisation/Organisationseinheit2.php +++ b/application/controllers/api/v1/organisation/Organisationseinheit2.php @@ -24,8 +24,8 @@ class Organisationseinheit2 extends APIv1_Controller parent::__construct(); // Load model OrganisationseinheitModel $this->load->model('organisation/organisationseinheit_model', 'OrganisationseinheitModel'); - // Load set the uid of the model to let to check the permissions - $this->OrganisationseinheitModel->setUID($this->_getUID()); + + } /** diff --git a/application/controllers/api/v1/organisation/Organisationseinheittyp.php b/application/controllers/api/v1/organisation/Organisationseinheittyp.php index 79765ed68..2998c652d 100644 --- a/application/controllers/api/v1/organisation/Organisationseinheittyp.php +++ b/application/controllers/api/v1/organisation/Organisationseinheittyp.php @@ -24,8 +24,8 @@ class Organisationseinheittyp extends APIv1_Controller parent::__construct(); // Load model OrganisationseinheittypModel $this->load->model('organisation/organisationseinheittyp_model', 'OrganisationseinheittypModel'); - // Load set the uid of the model to let to check the permissions - $this->OrganisationseinheittypModel->setUID($this->_getUID()); + + } /** diff --git a/application/controllers/api/v1/organisation/Semesterwochen.php b/application/controllers/api/v1/organisation/Semesterwochen.php index 8ea889d25..8ba837a64 100644 --- a/application/controllers/api/v1/organisation/Semesterwochen.php +++ b/application/controllers/api/v1/organisation/Semesterwochen.php @@ -24,8 +24,8 @@ class Semesterwochen extends APIv1_Controller parent::__construct(); // Load model SemesterwochenModel $this->load->model('organisation/semesterwochen_model', 'SemesterwochenModel'); - // Load set the uid of the model to let to check the permissions - $this->SemesterwochenModel->setUID($this->_getUID()); + + } /** diff --git a/application/controllers/api/v1/organisation/Service.php b/application/controllers/api/v1/organisation/Service.php index 0d04e4cb7..e49b92122 100644 --- a/application/controllers/api/v1/organisation/Service.php +++ b/application/controllers/api/v1/organisation/Service.php @@ -24,8 +24,8 @@ class Service extends APIv1_Controller parent::__construct(); // Load model ServiceModel $this->load->model('organisation/service_model', 'ServiceModel'); - // Load set the uid of the model to let to check the permissions - $this->ServiceModel->setUID($this->_getUID()); + + } /** diff --git a/application/controllers/api/v1/organisation/Standort.php b/application/controllers/api/v1/organisation/Standort.php index a377684b9..c2537c592 100644 --- a/application/controllers/api/v1/organisation/Standort.php +++ b/application/controllers/api/v1/organisation/Standort.php @@ -24,8 +24,8 @@ class Standort extends APIv1_Controller parent::__construct(); // Load model StandortModel $this->load->model('organisation/standort_model', 'StandortModel'); - // Load set the uid of the model to let to check the permissions - $this->StandortModel->setUID($this->_getUID()); + + } /** diff --git a/application/controllers/api/v1/organisation/Statistik.php b/application/controllers/api/v1/organisation/Statistik.php index c89bdb3fc..5e69a53d5 100644 --- a/application/controllers/api/v1/organisation/Statistik.php +++ b/application/controllers/api/v1/organisation/Statistik.php @@ -24,8 +24,8 @@ class Statistik extends APIv1_Controller parent::__construct(); // Load model StatistikModel $this->load->model('organisation/statistik_model', 'StatistikModel'); - // Load set the uid of the model to let to check the permissions - $this->StatistikModel->setUID($this->_getUID()); + + } /** diff --git a/application/controllers/api/v1/organisation/Studiengang2.php b/application/controllers/api/v1/organisation/Studiengang2.php index 4a19e3e96..6a95d9700 100644 --- a/application/controllers/api/v1/organisation/Studiengang2.php +++ b/application/controllers/api/v1/organisation/Studiengang2.php @@ -23,8 +23,8 @@ class Studiengang2 extends APIv1_Controller parent::__construct(); // Load model PersonModel $this->load->model('organisation/studiengang_model', 'StudiengangModel'); - // Load set the uid of the model to let to check the permissions - $this->StudiengangModel->setUID($this->_getUID()); + + } public function getStudiengang() diff --git a/application/controllers/api/v1/organisation/Studiengangstyp.php b/application/controllers/api/v1/organisation/Studiengangstyp.php index 45459c366..a0293c229 100644 --- a/application/controllers/api/v1/organisation/Studiengangstyp.php +++ b/application/controllers/api/v1/organisation/Studiengangstyp.php @@ -24,8 +24,8 @@ class Studiengangstyp extends APIv1_Controller parent::__construct(); // Load model StudiengangstypModel $this->load->model('organisation/studiengangstyp_model', 'StudiengangstypModel'); - // Load set the uid of the model to let to check the permissions - $this->StudiengangstypModel->setUID($this->_getUID()); + + } /** diff --git a/application/controllers/api/v1/organisation/Studienjahr.php b/application/controllers/api/v1/organisation/Studienjahr.php index d66e26a05..8860dbd39 100644 --- a/application/controllers/api/v1/organisation/Studienjahr.php +++ b/application/controllers/api/v1/organisation/Studienjahr.php @@ -24,8 +24,8 @@ class Studienjahr extends APIv1_Controller parent::__construct(); // Load model StudienjahrModel $this->load->model('organisation/studienjahr_model', 'StudienjahrModel'); - // Load set the uid of the model to let to check the permissions - $this->StudienjahrModel->setUID($this->_getUID()); + + } /** diff --git a/application/controllers/api/v1/organisation/Studienordnung.php b/application/controllers/api/v1/organisation/Studienordnung.php index 10ea7248f..c791898c9 100644 --- a/application/controllers/api/v1/organisation/Studienordnung.php +++ b/application/controllers/api/v1/organisation/Studienordnung.php @@ -24,8 +24,8 @@ class Studienordnung extends APIv1_Controller parent::__construct(); // Load model StudienordnungModel $this->load->model('organisation/studienordnung_model', 'StudienordnungModel'); - // Load set the uid of the model to let to check the permissions - $this->StudienordnungModel->setUID($this->_getUID()); + + } /** diff --git a/application/controllers/api/v1/organisation/Studienordnungstatus.php b/application/controllers/api/v1/organisation/Studienordnungstatus.php index 02ee9b8bb..52d292850 100644 --- a/application/controllers/api/v1/organisation/Studienordnungstatus.php +++ b/application/controllers/api/v1/organisation/Studienordnungstatus.php @@ -24,8 +24,8 @@ class Studienordnungstatus extends APIv1_Controller parent::__construct(); // Load model StudienordnungstatusModel $this->load->model('organisation/studienordnungstatus_model', 'StudienordnungstatusModel'); - // Load set the uid of the model to let to check the permissions - $this->StudienordnungstatusModel->setUID($this->_getUID()); + + } /** diff --git a/application/controllers/api/v1/organisation/Studienplan.php b/application/controllers/api/v1/organisation/Studienplan.php index f27043d82..1a9d54cf0 100644 --- a/application/controllers/api/v1/organisation/Studienplan.php +++ b/application/controllers/api/v1/organisation/Studienplan.php @@ -24,8 +24,8 @@ class Studienplan extends APIv1_Controller parent::__construct(); // Load model PersonModel $this->load->model('organisation/studienplan_model', 'StudienplanModel'); - // Load set the uid of the model to let to check the permissions - $this->StudienplanModel->setUID($this->_getUID()); + + } public function getStudienplan() diff --git a/application/controllers/api/v1/organisation/Studienplatz.php b/application/controllers/api/v1/organisation/Studienplatz.php index 00e55a35b..bb0dc5e12 100644 --- a/application/controllers/api/v1/organisation/Studienplatz.php +++ b/application/controllers/api/v1/organisation/Studienplatz.php @@ -24,8 +24,8 @@ class Studienplatz extends APIv1_Controller parent::__construct(); // Load model StudienplatzModel $this->load->model('organisation/studienplatz_model', 'StudienplatzModel'); - // Load set the uid of the model to let to check the permissions - $this->StudienplatzModel->setUID($this->_getUID()); + + } /** diff --git a/application/controllers/api/v1/organisation/Studiensemester.php b/application/controllers/api/v1/organisation/Studiensemester.php index 46c5e6d7d..a7809bb62 100644 --- a/application/controllers/api/v1/organisation/Studiensemester.php +++ b/application/controllers/api/v1/organisation/Studiensemester.php @@ -24,8 +24,8 @@ class Studiensemester extends APIv1_Controller parent::__construct(); // Load model StudiensemesterModel $this->load->model('organisation/studiensemester_model', 'StudiensemesterModel'); - // Load set the uid of the model to let to check the permissions - $this->StudiensemesterModel->setUID($this->_getUID()); + + } /** diff --git a/application/controllers/api/v1/person/Adresse.php b/application/controllers/api/v1/person/Adresse.php index 5da78c292..9adaf5d19 100644 --- a/application/controllers/api/v1/person/Adresse.php +++ b/application/controllers/api/v1/person/Adresse.php @@ -25,8 +25,8 @@ class Adresse extends APIv1_Controller parent::__construct(); // Load model PersonModel $this->load->model('person/Adresse_model', 'AdresseModel'); - // Load set the uid of the model to let to check the permissions - $this->AdresseModel->setUID($this->_getUID()); + + } public function getAdresse() diff --git a/application/controllers/api/v1/person/Bankverbindung.php b/application/controllers/api/v1/person/Bankverbindung.php index 0355c3849..42a1f5c15 100644 --- a/application/controllers/api/v1/person/Bankverbindung.php +++ b/application/controllers/api/v1/person/Bankverbindung.php @@ -24,8 +24,8 @@ class Bankverbindung extends APIv1_Controller parent::__construct(); // Load model BankverbindungModel $this->load->model('person/bankverbindung_model', 'BankverbindungModel'); - // Load set the uid of the model to let to check the permissions - $this->BankverbindungModel->setUID($this->_getUID()); + + } /** diff --git a/application/controllers/api/v1/person/Benutzer.php b/application/controllers/api/v1/person/Benutzer.php index 35e31b66c..33687f6f0 100644 --- a/application/controllers/api/v1/person/Benutzer.php +++ b/application/controllers/api/v1/person/Benutzer.php @@ -24,8 +24,8 @@ class Benutzer extends APIv1_Controller parent::__construct(); // Load model BenutzerModel $this->load->model('person/benutzer_model', 'BenutzerModel'); - // Load set the uid of the model to let to check the permissions - $this->BenutzerModel->setUID($this->_getUID()); + + } /** diff --git a/application/controllers/api/v1/person/Benutzerfunktion.php b/application/controllers/api/v1/person/Benutzerfunktion.php index 0bc764d56..93b793287 100644 --- a/application/controllers/api/v1/person/Benutzerfunktion.php +++ b/application/controllers/api/v1/person/Benutzerfunktion.php @@ -24,8 +24,8 @@ class Benutzerfunktion extends APIv1_Controller parent::__construct(); // Load model BenutzerfunktionModel $this->load->model('person/benutzerfunktion_model', 'BenutzerfunktionModel'); - // Load set the uid of the model to let to check the permissions - $this->BenutzerfunktionModel->setUID($this->_getUID()); + + } /** diff --git a/application/controllers/api/v1/person/Benutzergruppe.php b/application/controllers/api/v1/person/Benutzergruppe.php index 3b499283a..b70e08014 100644 --- a/application/controllers/api/v1/person/Benutzergruppe.php +++ b/application/controllers/api/v1/person/Benutzergruppe.php @@ -24,8 +24,8 @@ class Benutzergruppe extends APIv1_Controller parent::__construct(); // Load model BenutzergruppeModel $this->load->model('person/benutzergruppe_model', 'BenutzergruppeModel'); - // Load set the uid of the model to let to check the permissions - $this->BenutzergruppeModel->setUID($this->_getUID()); + + } /** diff --git a/application/controllers/api/v1/person/Fotostatus.php b/application/controllers/api/v1/person/Fotostatus.php index fa3d9c8ae..ea74649da 100644 --- a/application/controllers/api/v1/person/Fotostatus.php +++ b/application/controllers/api/v1/person/Fotostatus.php @@ -24,8 +24,8 @@ class Fotostatus extends APIv1_Controller parent::__construct(); // Load model FotostatusModel $this->load->model('person/fotostatus_model', 'FotostatusModel'); - // Load set the uid of the model to let to check the permissions - $this->FotostatusModel->setUID($this->_getUID()); + + } /** diff --git a/application/controllers/api/v1/person/Freebusy.php b/application/controllers/api/v1/person/Freebusy.php index fb587e2dd..c8ca32b36 100644 --- a/application/controllers/api/v1/person/Freebusy.php +++ b/application/controllers/api/v1/person/Freebusy.php @@ -24,8 +24,8 @@ class Freebusy extends APIv1_Controller parent::__construct(); // Load model FreebusyModel $this->load->model('person/freebusy_model', 'FreebusyModel'); - // Load set the uid of the model to let to check the permissions - $this->FreebusyModel->setUID($this->_getUID()); + + } /** diff --git a/application/controllers/api/v1/person/Freebusytyp.php b/application/controllers/api/v1/person/Freebusytyp.php index c9ceb47ce..f3dac4792 100644 --- a/application/controllers/api/v1/person/Freebusytyp.php +++ b/application/controllers/api/v1/person/Freebusytyp.php @@ -24,8 +24,8 @@ class Freebusytyp extends APIv1_Controller parent::__construct(); // Load model FreebusytypModel $this->load->model('person/freebusytyp_model', 'FreebusytypModel'); - // Load set the uid of the model to let to check the permissions - $this->FreebusytypModel->setUID($this->_getUID()); + + } /** diff --git a/application/controllers/api/v1/person/Kontakt.php b/application/controllers/api/v1/person/Kontakt.php index 180acadb5..20a0b38c5 100644 --- a/application/controllers/api/v1/person/Kontakt.php +++ b/application/controllers/api/v1/person/Kontakt.php @@ -25,8 +25,8 @@ class Kontakt extends APIv1_Controller parent::__construct(); // Load model PersonModel $this->load->model('person/kontakt_model', 'KontaktModel'); - // Load set the uid of the model to let to check the permissions - $this->KontaktModel->setUID($this->_getUID()); + + } public function getKontakt() diff --git a/application/controllers/api/v1/person/Kontaktmedium.php b/application/controllers/api/v1/person/Kontaktmedium.php index 483ad7e2d..e435bc0de 100644 --- a/application/controllers/api/v1/person/Kontaktmedium.php +++ b/application/controllers/api/v1/person/Kontaktmedium.php @@ -24,8 +24,8 @@ class Kontaktmedium extends APIv1_Controller parent::__construct(); // Load model KontaktmediumModel $this->load->model('person/kontaktmedium_model', 'KontaktmediumModel'); - // Load set the uid of the model to let to check the permissions - $this->KontaktmediumModel->setUID($this->_getUID()); + + } /** diff --git a/application/controllers/api/v1/person/Kontakttyp.php b/application/controllers/api/v1/person/Kontakttyp.php index ef6edd8ea..bceab7b36 100644 --- a/application/controllers/api/v1/person/Kontakttyp.php +++ b/application/controllers/api/v1/person/Kontakttyp.php @@ -24,8 +24,8 @@ class Kontakttyp extends APIv1_Controller parent::__construct(); // Load model KontakttypModel $this->load->model('person/kontakttyp_model', 'KontakttypModel'); - // Load set the uid of the model to let to check the permissions - $this->KontakttypModel->setUID($this->_getUID()); + + } /** diff --git a/application/controllers/api/v1/person/Notiz.php b/application/controllers/api/v1/person/Notiz.php index 537d13979..d4c88b4e2 100644 --- a/application/controllers/api/v1/person/Notiz.php +++ b/application/controllers/api/v1/person/Notiz.php @@ -24,8 +24,8 @@ class Notiz extends APIv1_Controller parent::__construct(); // Load model NotizModel $this->load->model('person/notiz_model', 'NotizModel'); - // Load set the uid of the model to let to check the permissions - $this->NotizModel->setUID($this->_getUID()); + + } /** diff --git a/application/controllers/api/v1/person/Notizzuordnung.php b/application/controllers/api/v1/person/Notizzuordnung.php index 05494b50e..d83370037 100644 --- a/application/controllers/api/v1/person/Notizzuordnung.php +++ b/application/controllers/api/v1/person/Notizzuordnung.php @@ -24,8 +24,8 @@ class Notizzuordnung extends APIv1_Controller parent::__construct(); // Load model NotizzuordnungModel $this->load->model('person/notizzuordnung_model', 'NotizzuordnungModel'); - // Load set the uid of the model to let to check the permissions - $this->NotizzuordnungModel->setUID($this->_getUID()); + + } /** diff --git a/application/controllers/api/v1/person/Person.php b/application/controllers/api/v1/person/Person.php index 1992150ab..1f8774f0d 100644 --- a/application/controllers/api/v1/person/Person.php +++ b/application/controllers/api/v1/person/Person.php @@ -24,8 +24,8 @@ class Person extends APIv1_Controller parent::__construct(); // Load model PersonModel $this->load->model('person/person_model', 'PersonModel'); - // Load set the uid of the model to let to check the permissions - $this->PersonModel->setUID($this->_getUID()); + + } /** diff --git a/application/controllers/api/v1/project/Aktivitaet.php b/application/controllers/api/v1/project/Aktivitaet.php index 685c2c212..878738804 100644 --- a/application/controllers/api/v1/project/Aktivitaet.php +++ b/application/controllers/api/v1/project/Aktivitaet.php @@ -24,8 +24,8 @@ class Aktivitaet extends APIv1_Controller parent::__construct(); // Load model AktivitaetModel $this->load->model('project/aktivitaet_model', 'AktivitaetModel'); - // Load set the uid of the model to let to check the permissions - $this->AktivitaetModel->setUID($this->_getUID()); + + } /** diff --git a/application/controllers/api/v1/project/Aufwandstyp.php b/application/controllers/api/v1/project/Aufwandstyp.php index 02cb6d5ba..f9d9ce58c 100644 --- a/application/controllers/api/v1/project/Aufwandstyp.php +++ b/application/controllers/api/v1/project/Aufwandstyp.php @@ -24,8 +24,8 @@ class Aufwandstyp extends APIv1_Controller parent::__construct(); // Load model AufwandstypModel $this->load->model('project/aufwandstyp_model', 'AufwandstypModel'); - // Load set the uid of the model to let to check the permissions - $this->AufwandstypModel->setUID($this->_getUID()); + + } /** diff --git a/application/controllers/api/v1/project/Projekt.php b/application/controllers/api/v1/project/Projekt.php index 244b170d0..6340ca81b 100644 --- a/application/controllers/api/v1/project/Projekt.php +++ b/application/controllers/api/v1/project/Projekt.php @@ -24,8 +24,8 @@ class Projekt extends APIv1_Controller parent::__construct(); // Load model ProjektModel $this->load->model('project/projekt_model', 'ProjektModel'); - // Load set the uid of the model to let to check the permissions - $this->ProjektModel->setUID($this->_getUID()); + + } /** diff --git a/application/controllers/api/v1/project/Projekt_ressource.php b/application/controllers/api/v1/project/Projekt_ressource.php index 688546dfe..6ff0748f5 100644 --- a/application/controllers/api/v1/project/Projekt_ressource.php +++ b/application/controllers/api/v1/project/Projekt_ressource.php @@ -24,8 +24,8 @@ class Projekt_ressource extends APIv1_Controller parent::__construct(); // Load model Projekt_ressourceModel $this->load->model('project/projekt_ressource_model', 'Projekt_ressourceModel'); - // Load set the uid of the model to let to check the permissions - $this->Projekt_ressourceModel->setUID($this->_getUID()); + + } /** diff --git a/application/controllers/api/v1/project/Projektphase.php b/application/controllers/api/v1/project/Projektphase.php index 04007e0d4..b59a0aed3 100644 --- a/application/controllers/api/v1/project/Projektphase.php +++ b/application/controllers/api/v1/project/Projektphase.php @@ -24,8 +24,8 @@ class Projektphase extends APIv1_Controller parent::__construct(); // Load model ProjektphaseModel $this->load->model('project/projektphase_model', 'ProjektphaseModel'); - // Load set the uid of the model to let to check the permissions - $this->ProjektphaseModel->setUID($this->_getUID()); + + } /** diff --git a/application/controllers/api/v1/project/Projekttask.php b/application/controllers/api/v1/project/Projekttask.php index 30e78da3e..ae89c45b3 100644 --- a/application/controllers/api/v1/project/Projekttask.php +++ b/application/controllers/api/v1/project/Projekttask.php @@ -24,8 +24,8 @@ class Projekttask extends APIv1_Controller parent::__construct(); // Load model ProjekttaskModel $this->load->model('project/projekttask_model', 'ProjekttaskModel'); - // Load set the uid of the model to let to check the permissions - $this->ProjekttaskModel->setUID($this->_getUID()); + + } /** diff --git a/application/controllers/api/v1/project/Ressource.php b/application/controllers/api/v1/project/Ressource.php index 00e923435..0e70c86ac 100644 --- a/application/controllers/api/v1/project/Ressource.php +++ b/application/controllers/api/v1/project/Ressource.php @@ -24,8 +24,8 @@ class Ressource extends APIv1_Controller parent::__construct(); // Load model RessourceModel $this->load->model('project/ressource_model', 'RessourceModel'); - // Load set the uid of the model to let to check the permissions - $this->RessourceModel->setUID($this->_getUID()); + + } /** diff --git a/application/controllers/api/v1/project/Scrumsprint.php b/application/controllers/api/v1/project/Scrumsprint.php index 4d64782fb..db81c319f 100644 --- a/application/controllers/api/v1/project/Scrumsprint.php +++ b/application/controllers/api/v1/project/Scrumsprint.php @@ -24,8 +24,8 @@ class Scrumsprint extends APIv1_Controller parent::__construct(); // Load model ScrumsprintModel $this->load->model('project/scrumsprint_model', 'ScrumsprintModel'); - // Load set the uid of the model to let to check the permissions - $this->ScrumsprintModel->setUID($this->_getUID()); + + } /** diff --git a/application/controllers/api/v1/project/Scrumteam.php b/application/controllers/api/v1/project/Scrumteam.php index 440e66165..5890cbbcb 100644 --- a/application/controllers/api/v1/project/Scrumteam.php +++ b/application/controllers/api/v1/project/Scrumteam.php @@ -24,8 +24,8 @@ class Scrumteam extends APIv1_Controller parent::__construct(); // Load model ScrumteamModel $this->load->model('project/scrumteam_model', 'ScrumteamModel'); - // Load set the uid of the model to let to check the permissions - $this->ScrumteamModel->setUID($this->_getUID()); + + } /** diff --git a/application/controllers/api/v1/ressource/Betriebsmittel.php b/application/controllers/api/v1/ressource/Betriebsmittel.php index a827a3265..2d1da9d22 100644 --- a/application/controllers/api/v1/ressource/Betriebsmittel.php +++ b/application/controllers/api/v1/ressource/Betriebsmittel.php @@ -24,8 +24,8 @@ class Betriebsmittel extends APIv1_Controller parent::__construct(); // Load model BetriebsmittelModel $this->load->model('ressource/betriebsmittel_model', 'BetriebsmittelModel'); - // Load set the uid of the model to let to check the permissions - $this->BetriebsmittelModel->setUID($this->_getUID()); + + } /** diff --git a/application/controllers/api/v1/ressource/Betriebsmittelperson2.php b/application/controllers/api/v1/ressource/Betriebsmittelperson2.php index 14baca485..8ed7a9a7d 100644 --- a/application/controllers/api/v1/ressource/Betriebsmittelperson2.php +++ b/application/controllers/api/v1/ressource/Betriebsmittelperson2.php @@ -24,8 +24,8 @@ class Betriebsmittelperson2 extends APIv1_Controller parent::__construct(); // Load model BetriebsmittelpersonModel $this->load->model('ressource/betriebsmittelperson_model', 'BetriebsmittelpersonModel'); - // Load set the uid of the model to let to check the permissions - $this->BetriebsmittelpersonModel->setUID($this->_getUID()); + + } /** diff --git a/application/controllers/api/v1/ressource/Betriebsmittelstatus.php b/application/controllers/api/v1/ressource/Betriebsmittelstatus.php index 46d00c82c..c25c6991e 100644 --- a/application/controllers/api/v1/ressource/Betriebsmittelstatus.php +++ b/application/controllers/api/v1/ressource/Betriebsmittelstatus.php @@ -24,8 +24,8 @@ class Betriebsmittelstatus extends APIv1_Controller parent::__construct(); // Load model BetriebsmittelstatusModel $this->load->model('ressource/betriebsmittelstatus_model', 'BetriebsmittelstatusModel'); - // Load set the uid of the model to let to check the permissions - $this->BetriebsmittelstatusModel->setUID($this->_getUID()); + + } /** diff --git a/application/controllers/api/v1/ressource/Betriebsmitteltyp.php b/application/controllers/api/v1/ressource/Betriebsmitteltyp.php index e23ed16d5..1aef7153b 100644 --- a/application/controllers/api/v1/ressource/Betriebsmitteltyp.php +++ b/application/controllers/api/v1/ressource/Betriebsmitteltyp.php @@ -24,8 +24,8 @@ class Betriebsmitteltyp extends APIv1_Controller parent::__construct(); // Load model BetriebsmitteltypModel $this->load->model('ressource/betriebsmitteltyp_model', 'BetriebsmitteltypModel'); - // Load set the uid of the model to let to check the permissions - $this->BetriebsmitteltypModel->setUID($this->_getUID()); + + } /** diff --git a/application/controllers/api/v1/ressource/Coodle.php b/application/controllers/api/v1/ressource/Coodle.php index 353828465..3799aae26 100644 --- a/application/controllers/api/v1/ressource/Coodle.php +++ b/application/controllers/api/v1/ressource/Coodle.php @@ -24,8 +24,8 @@ class Coodle extends APIv1_Controller parent::__construct(); // Load model CoodleModel $this->load->model('ressource/coodle_model', 'CoodleModel'); - // Load set the uid of the model to let to check the permissions - $this->CoodleModel->setUID($this->_getUID()); + + } /** diff --git a/application/controllers/api/v1/ressource/Erreichbarkeit.php b/application/controllers/api/v1/ressource/Erreichbarkeit.php index 5a142757e..545501a77 100644 --- a/application/controllers/api/v1/ressource/Erreichbarkeit.php +++ b/application/controllers/api/v1/ressource/Erreichbarkeit.php @@ -24,8 +24,8 @@ class Erreichbarkeit extends APIv1_Controller parent::__construct(); // Load model ErreichbarkeitModel $this->load->model('ressource/erreichbarkeit_model', 'ErreichbarkeitModel'); - // Load set the uid of the model to let to check the permissions - $this->ErreichbarkeitModel->setUID($this->_getUID()); + + } /** diff --git a/application/controllers/api/v1/ressource/Firma.php b/application/controllers/api/v1/ressource/Firma.php index 64c33b344..5bcfb1173 100644 --- a/application/controllers/api/v1/ressource/Firma.php +++ b/application/controllers/api/v1/ressource/Firma.php @@ -24,8 +24,8 @@ class Firma extends APIv1_Controller parent::__construct(); // Load model FirmaModel $this->load->model('ressource/firma_model', 'FirmaModel'); - // Load set the uid of the model to let to check the permissions - $this->FirmaModel->setUID($this->_getUID()); + + } /** diff --git a/application/controllers/api/v1/ressource/Firmatag.php b/application/controllers/api/v1/ressource/Firmatag.php index 3fd939652..c2c4f7533 100644 --- a/application/controllers/api/v1/ressource/Firmatag.php +++ b/application/controllers/api/v1/ressource/Firmatag.php @@ -24,8 +24,8 @@ class Firmatag extends APIv1_Controller parent::__construct(); // Load model FirmatagModel $this->load->model('ressource/firmatag_model', 'FirmatagModel'); - // Load set the uid of the model to let to check the permissions - $this->FirmatagModel->setUID($this->_getUID()); + + } /** diff --git a/application/controllers/api/v1/ressource/Firmentyp.php b/application/controllers/api/v1/ressource/Firmentyp.php index 3261ccb39..c5c2d6fed 100644 --- a/application/controllers/api/v1/ressource/Firmentyp.php +++ b/application/controllers/api/v1/ressource/Firmentyp.php @@ -24,8 +24,8 @@ class Firmentyp extends APIv1_Controller parent::__construct(); // Load model FirmentypModel $this->load->model('ressource/firmentyp_model', 'FirmentypModel'); - // Load set the uid of the model to let to check the permissions - $this->FirmentypModel->setUID($this->_getUID()); + + } /** diff --git a/application/controllers/api/v1/ressource/Funktion.php b/application/controllers/api/v1/ressource/Funktion.php index 3e33c3c20..191394da8 100644 --- a/application/controllers/api/v1/ressource/Funktion.php +++ b/application/controllers/api/v1/ressource/Funktion.php @@ -24,8 +24,8 @@ class Funktion extends APIv1_Controller parent::__construct(); // Load model FunktionModel $this->load->model('ressource/funktion_model', 'FunktionModel'); - // Load set the uid of the model to let to check the permissions - $this->FunktionModel->setUID($this->_getUID()); + + } /** diff --git a/application/controllers/api/v1/ressource/Lehrmittel.php b/application/controllers/api/v1/ressource/Lehrmittel.php index d874d53e5..b28c7eb15 100644 --- a/application/controllers/api/v1/ressource/Lehrmittel.php +++ b/application/controllers/api/v1/ressource/Lehrmittel.php @@ -24,8 +24,8 @@ class Lehrmittel extends APIv1_Controller parent::__construct(); // Load model LehrmittelModel $this->load->model('ressource/lehrmittel_model', 'LehrmittelModel'); - // Load set the uid of the model to let to check the permissions - $this->LehrmittelModel->setUID($this->_getUID()); + + } /** diff --git a/application/controllers/api/v1/ressource/Mitarbeiter.php b/application/controllers/api/v1/ressource/Mitarbeiter.php index 8578ab12d..e550d005b 100644 --- a/application/controllers/api/v1/ressource/Mitarbeiter.php +++ b/application/controllers/api/v1/ressource/Mitarbeiter.php @@ -24,8 +24,8 @@ class Mitarbeiter extends APIv1_Controller parent::__construct(); // Load model MitarbeiterModel $this->load->model('ressource/mitarbeiter_model', 'MitarbeiterModel'); - // Load set the uid of the model to let to check the permissions - $this->MitarbeiterModel->setUID($this->_getUID()); + + } /** diff --git a/application/controllers/api/v1/ressource/Ort.php b/application/controllers/api/v1/ressource/Ort.php index 13b8989fd..da05e6c04 100644 --- a/application/controllers/api/v1/ressource/Ort.php +++ b/application/controllers/api/v1/ressource/Ort.php @@ -24,8 +24,8 @@ class Ort extends APIv1_Controller parent::__construct(); // Load model OrtModel $this->load->model('ressource/ort_model', 'OrtModel'); - // Load set the uid of the model to let to check the permissions - $this->OrtModel->setUID($this->_getUID()); + + } /** diff --git a/application/controllers/api/v1/ressource/Ortraumtyp.php b/application/controllers/api/v1/ressource/Ortraumtyp.php index 9d4cbd2db..7452805ee 100644 --- a/application/controllers/api/v1/ressource/Ortraumtyp.php +++ b/application/controllers/api/v1/ressource/Ortraumtyp.php @@ -24,8 +24,8 @@ class Ortraumtyp extends APIv1_Controller parent::__construct(); // Load model OrtraumtypModel $this->load->model('ressource/ortraumtyp_model', 'OrtraumtypModel'); - // Load set the uid of the model to let to check the permissions - $this->OrtraumtypModel->setUID($this->_getUID()); + + } /** diff --git a/application/controllers/api/v1/ressource/Personfunktionstandort.php b/application/controllers/api/v1/ressource/Personfunktionstandort.php index e4c204716..7d75b80ce 100644 --- a/application/controllers/api/v1/ressource/Personfunktionstandort.php +++ b/application/controllers/api/v1/ressource/Personfunktionstandort.php @@ -24,8 +24,8 @@ class Personfunktionstandort extends APIv1_Controller parent::__construct(); // Load model PersonfunktionstandortModel $this->load->model('ressource/personfunktionstandort_model', 'PersonfunktionstandortModel'); - // Load set the uid of the model to let to check the permissions - $this->PersonfunktionstandortModel->setUID($this->_getUID()); + + } /** diff --git a/application/controllers/api/v1/ressource/Raumtyp.php b/application/controllers/api/v1/ressource/Raumtyp.php index 39751089d..10d05e108 100644 --- a/application/controllers/api/v1/ressource/Raumtyp.php +++ b/application/controllers/api/v1/ressource/Raumtyp.php @@ -24,8 +24,8 @@ class Raumtyp extends APIv1_Controller parent::__construct(); // Load model RaumtypModel $this->load->model('ressource/raumtyp_model', 'RaumtypModel'); - // Load set the uid of the model to let to check the permissions - $this->RaumtypModel->setUID($this->_getUID()); + + } /** diff --git a/application/controllers/api/v1/ressource/Reservierung.php b/application/controllers/api/v1/ressource/Reservierung.php index 8073e7c04..48370708d 100644 --- a/application/controllers/api/v1/ressource/Reservierung.php +++ b/application/controllers/api/v1/ressource/Reservierung.php @@ -24,8 +24,8 @@ class Reservierung extends APIv1_Controller parent::__construct(); // Load model ReservierungModel $this->load->model('ressource/reservierung_model', 'ReservierungModel'); - // Load set the uid of the model to let to check the permissions - $this->ReservierungModel->setUID($this->_getUID()); + + } /** diff --git a/application/controllers/api/v1/ressource/Resturlaub.php b/application/controllers/api/v1/ressource/Resturlaub.php index 16e2b2753..98cfe0979 100644 --- a/application/controllers/api/v1/ressource/Resturlaub.php +++ b/application/controllers/api/v1/ressource/Resturlaub.php @@ -24,8 +24,8 @@ class Resturlaub extends APIv1_Controller parent::__construct(); // Load model ResturlaubModel $this->load->model('ressource/resturlaub_model', 'ResturlaubModel'); - // Load set the uid of the model to let to check the permissions - $this->ResturlaubModel->setUID($this->_getUID()); + + } /** diff --git a/application/controllers/api/v1/ressource/Stunde.php b/application/controllers/api/v1/ressource/Stunde.php index 5470b2fca..23711453a 100644 --- a/application/controllers/api/v1/ressource/Stunde.php +++ b/application/controllers/api/v1/ressource/Stunde.php @@ -24,8 +24,8 @@ class Stunde extends APIv1_Controller parent::__construct(); // Load model StundeModel $this->load->model('ressource/stunde_model', 'StundeModel'); - // Load set the uid of the model to let to check the permissions - $this->StundeModel->setUID($this->_getUID()); + + } /** diff --git a/application/controllers/api/v1/ressource/Stundenplan.php b/application/controllers/api/v1/ressource/Stundenplan.php index a22c90615..37932cf1f 100644 --- a/application/controllers/api/v1/ressource/Stundenplan.php +++ b/application/controllers/api/v1/ressource/Stundenplan.php @@ -24,8 +24,8 @@ class Stundenplan extends APIv1_Controller parent::__construct(); // Load model StundenplanModel $this->load->model('ressource/stundenplan_model', 'StundenplanModel'); - // Load set the uid of the model to let to check the permissions - $this->StundenplanModel->setUID($this->_getUID()); + + } /** diff --git a/application/controllers/api/v1/ressource/Stundenplandev.php b/application/controllers/api/v1/ressource/Stundenplandev.php index aa6f7fce8..429999321 100644 --- a/application/controllers/api/v1/ressource/Stundenplandev.php +++ b/application/controllers/api/v1/ressource/Stundenplandev.php @@ -24,8 +24,8 @@ class Stundenplandev extends APIv1_Controller parent::__construct(); // Load model StundenplandevModel $this->load->model('ressource/stundenplandev_model', 'StundenplandevModel'); - // Load set the uid of the model to let to check the permissions - $this->StundenplandevModel->setUID($this->_getUID()); + + } /** diff --git a/application/controllers/api/v1/ressource/Zeitaufzeichnung.php b/application/controllers/api/v1/ressource/Zeitaufzeichnung.php index 275f5704a..367d7e12e 100644 --- a/application/controllers/api/v1/ressource/Zeitaufzeichnung.php +++ b/application/controllers/api/v1/ressource/Zeitaufzeichnung.php @@ -24,8 +24,8 @@ class Zeitaufzeichnung extends APIv1_Controller parent::__construct(); // Load model ZeitaufzeichnungModel $this->load->model('ressource/zeitaufzeichnung_model', 'ZeitaufzeichnungModel'); - // Load set the uid of the model to let to check the permissions - $this->ZeitaufzeichnungModel->setUID($this->_getUID()); + + } /** diff --git a/application/controllers/api/v1/ressource/Zeitfenster.php b/application/controllers/api/v1/ressource/Zeitfenster.php index c1b1ac09c..f65b3ad7c 100644 --- a/application/controllers/api/v1/ressource/Zeitfenster.php +++ b/application/controllers/api/v1/ressource/Zeitfenster.php @@ -24,8 +24,8 @@ class Zeitfenster extends APIv1_Controller parent::__construct(); // Load model ZeitfensterModel $this->load->model('ressource/zeitfenster_model', 'ZeitfensterModel'); - // Load set the uid of the model to let to check the permissions - $this->ZeitfensterModel->setUID($this->_getUID()); + + } /** diff --git a/application/controllers/api/v1/ressource/Zeitsperre.php b/application/controllers/api/v1/ressource/Zeitsperre.php index 42eaa9a32..c0d9c0cbc 100644 --- a/application/controllers/api/v1/ressource/Zeitsperre.php +++ b/application/controllers/api/v1/ressource/Zeitsperre.php @@ -24,8 +24,8 @@ class Zeitsperre extends APIv1_Controller parent::__construct(); // Load model ZeitsperreModel $this->load->model('ressource/zeitsperre_model', 'ZeitsperreModel'); - // Load set the uid of the model to let to check the permissions - $this->ZeitsperreModel->setUID($this->_getUID()); + + } /** diff --git a/application/controllers/api/v1/ressource/Zeitsperretyp.php b/application/controllers/api/v1/ressource/Zeitsperretyp.php index dae492cbe..b131f81e7 100644 --- a/application/controllers/api/v1/ressource/Zeitsperretyp.php +++ b/application/controllers/api/v1/ressource/Zeitsperretyp.php @@ -24,8 +24,8 @@ class Zeitsperretyp extends APIv1_Controller parent::__construct(); // Load model ZeitsperretypModel $this->load->model('ressource/zeitsperretyp_model', 'ZeitsperretypModel'); - // Load set the uid of the model to let to check the permissions - $this->ZeitsperretypModel->setUID($this->_getUID()); + + } /** diff --git a/application/controllers/api/v1/ressource/Zeitwunsch.php b/application/controllers/api/v1/ressource/Zeitwunsch.php index 45c541b54..ed479ff86 100644 --- a/application/controllers/api/v1/ressource/Zeitwunsch.php +++ b/application/controllers/api/v1/ressource/Zeitwunsch.php @@ -24,8 +24,8 @@ class Zeitwunsch extends APIv1_Controller parent::__construct(); // Load model ZeitwunschModel $this->load->model('ressource/zeitwunsch_model', 'ZeitwunschModel'); - // Load set the uid of the model to let to check the permissions - $this->ZeitwunschModel->setUID($this->_getUID()); + + } /** diff --git a/application/controllers/api/v1/system/Appdaten.php b/application/controllers/api/v1/system/Appdaten.php index 5d45d8512..c0790a7d7 100644 --- a/application/controllers/api/v1/system/Appdaten.php +++ b/application/controllers/api/v1/system/Appdaten.php @@ -24,8 +24,8 @@ class Appdaten extends APIv1_Controller parent::__construct(); // Load model AppdatenModel $this->load->model('system/appdaten_model', 'AppdatenModel'); - // Load set the uid of the model to let to check the permissions - $this->AppdatenModel->setUID($this->_getUID()); + + } /** diff --git a/application/controllers/api/v1/system/Benutzerrolle.php b/application/controllers/api/v1/system/Benutzerrolle.php index e1aa8c9b7..b34551746 100644 --- a/application/controllers/api/v1/system/Benutzerrolle.php +++ b/application/controllers/api/v1/system/Benutzerrolle.php @@ -24,8 +24,8 @@ class Benutzerrolle extends APIv1_Controller parent::__construct(); // Load model BenutzerrolleModel $this->load->model('system/benutzerrolle_model', 'BenutzerrolleModel'); - // Load set the uid of the model to let to check the permissions - $this->BenutzerrolleModel->setUID($this->_getUID()); + + } /** diff --git a/application/controllers/api/v1/system/Berechtigung.php b/application/controllers/api/v1/system/Berechtigung.php index 54d639fa3..52f9cde59 100644 --- a/application/controllers/api/v1/system/Berechtigung.php +++ b/application/controllers/api/v1/system/Berechtigung.php @@ -24,8 +24,8 @@ class Berechtigung extends APIv1_Controller parent::__construct(); // Load model BerechtigungModel $this->load->model('system/berechtigung_model', 'BerechtigungModel'); - // Load set the uid of the model to let to check the permissions - $this->BerechtigungModel->setUID($this->_getUID()); + + } /** diff --git a/application/controllers/api/v1/system/Cronjob.php b/application/controllers/api/v1/system/Cronjob.php index 82c63ed81..3f625389a 100644 --- a/application/controllers/api/v1/system/Cronjob.php +++ b/application/controllers/api/v1/system/Cronjob.php @@ -24,8 +24,8 @@ class Cronjob extends APIv1_Controller parent::__construct(); // Load model CronjobModel $this->load->model('system/cronjob_model', 'CronjobModel'); - // Load set the uid of the model to let to check the permissions - $this->CronjobModel->setUID($this->_getUID()); + + } /** diff --git a/application/controllers/api/v1/system/Filter.php b/application/controllers/api/v1/system/Filter.php index 49eac7d7e..b6e3027bd 100644 --- a/application/controllers/api/v1/system/Filter.php +++ b/application/controllers/api/v1/system/Filter.php @@ -24,8 +24,8 @@ class Filter extends APIv1_Controller parent::__construct(); // Load model FilterModel $this->load->model('system/filter_model', 'FilterModel'); - // Load set the uid of the model to let to check the permissions - $this->FilterModel->setUID($this->_getUID()); + + } /** diff --git a/application/controllers/api/v1/system/Log.php b/application/controllers/api/v1/system/Log.php index c18da58fb..653731f02 100644 --- a/application/controllers/api/v1/system/Log.php +++ b/application/controllers/api/v1/system/Log.php @@ -24,8 +24,8 @@ class Log extends APIv1_Controller parent::__construct(); // Load model LogModel $this->load->model('system/log_model', 'LogModel'); - // Load set the uid of the model to let to check the permissions - $this->LogModel->setUID($this->_getUID()); + + } /** diff --git a/application/controllers/api/v1/system/Message.php b/application/controllers/api/v1/system/Message.php index 972f046b4..2451eb044 100644 --- a/application/controllers/api/v1/system/Message.php +++ b/application/controllers/api/v1/system/Message.php @@ -23,7 +23,7 @@ class Message extends APIv1_Controller { parent::__construct(); // Load library MessageLib - $this->load->library('MessageLib', array('uid' => $this->_getUID())); + $this->load->library('MessageLib'); } /** diff --git a/application/controllers/api/v1/system/Rolle.php b/application/controllers/api/v1/system/Rolle.php index 0523d412f..9bf3a229e 100644 --- a/application/controllers/api/v1/system/Rolle.php +++ b/application/controllers/api/v1/system/Rolle.php @@ -24,8 +24,8 @@ class Rolle extends APIv1_Controller parent::__construct(); // Load model RolleModel $this->load->model('system/rolle_model', 'RolleModel'); - // Load set the uid of the model to let to check the permissions - $this->RolleModel->setUID($this->_getUID()); + + } /** diff --git a/application/controllers/api/v1/system/Rolleberechtigung.php b/application/controllers/api/v1/system/Rolleberechtigung.php index 13125c536..f4c0b11a5 100644 --- a/application/controllers/api/v1/system/Rolleberechtigung.php +++ b/application/controllers/api/v1/system/Rolleberechtigung.php @@ -24,8 +24,8 @@ class Rolleberechtigung extends APIv1_Controller parent::__construct(); // Load model RolleberechtigungModel $this->load->model('system/rolleberechtigung_model', 'RolleberechtigungModel'); - // Load set the uid of the model to let to check the permissions - $this->RolleberechtigungModel->setUID($this->_getUID()); + + } /** diff --git a/application/controllers/api/v1/system/Server.php b/application/controllers/api/v1/system/Server.php index 361ce2fb0..8bd2bffa1 100644 --- a/application/controllers/api/v1/system/Server.php +++ b/application/controllers/api/v1/system/Server.php @@ -24,8 +24,8 @@ class Server extends APIv1_Controller parent::__construct(); // Load model ServerModel $this->load->model('system/server_model', 'ServerModel'); - // Load set the uid of the model to let to check the permissions - $this->ServerModel->setUID($this->_getUID()); + + } /** diff --git a/application/controllers/api/v1/system/Sprache2.php b/application/controllers/api/v1/system/Sprache2.php index 342c77d9c..c8afeba1d 100644 --- a/application/controllers/api/v1/system/Sprache2.php +++ b/application/controllers/api/v1/system/Sprache2.php @@ -24,8 +24,8 @@ class Sprache2 extends APIv1_Controller parent::__construct(); // Load model SpracheModel $this->load->model('system/sprache_model', 'SpracheModel'); - // Load set the uid of the model to let to check the permissions - $this->SpracheModel->setUID($this->_getUID()); + + } /** diff --git a/application/controllers/api/v1/system/Tag.php b/application/controllers/api/v1/system/Tag.php index f7b7bb7e0..12ce7b3ac 100644 --- a/application/controllers/api/v1/system/Tag.php +++ b/application/controllers/api/v1/system/Tag.php @@ -24,8 +24,8 @@ class Tag extends APIv1_Controller parent::__construct(); // Load model TagModel $this->load->model('system/tag_model', 'TagModel'); - // Load set the uid of the model to let to check the permissions - $this->TagModel->setUID($this->_getUID()); + + } /** diff --git a/application/controllers/api/v1/system/Thread.php b/application/controllers/api/v1/system/Thread.php index 633e779e5..26fd0deb8 100644 --- a/application/controllers/api/v1/system/Thread.php +++ b/application/controllers/api/v1/system/Thread.php @@ -24,8 +24,8 @@ class Thread extends APIv1_Controller parent::__construct(); // Load model ThreadModel $this->load->model('system/thread_model', 'ThreadModel'); - // Load set the uid of the model to let to check the permissions - $this->ThreadModel->setUID($this->_getUID()); + + } /** diff --git a/application/controllers/api/v1/system/Variable.php b/application/controllers/api/v1/system/Variable.php index 7567eca20..d97fefdf7 100644 --- a/application/controllers/api/v1/system/Variable.php +++ b/application/controllers/api/v1/system/Variable.php @@ -24,8 +24,8 @@ class Variable extends APIv1_Controller parent::__construct(); // Load model VariableModel $this->load->model('system/variable_model', 'VariableModel'); - // Load set the uid of the model to let to check the permissions - $this->VariableModel->setUID($this->_getUID()); + + } /** diff --git a/application/controllers/api/v1/system/Vorlage.php b/application/controllers/api/v1/system/Vorlage.php index 0de44b90e..304471971 100644 --- a/application/controllers/api/v1/system/Vorlage.php +++ b/application/controllers/api/v1/system/Vorlage.php @@ -24,8 +24,8 @@ class Vorlage extends APIv1_Controller parent::__construct(); // Load model VorlageModel $this->load->model('system/vorlage_model', 'VorlageModel'); - // Load set the uid of the model to let to check the permissions - $this->VorlageModel->setUID($this->_getUID()); + + } /** diff --git a/application/controllers/api/v1/system/Vorlagestudiengang.php b/application/controllers/api/v1/system/Vorlagestudiengang.php index 4070dd819..efa8963d1 100644 --- a/application/controllers/api/v1/system/Vorlagestudiengang.php +++ b/application/controllers/api/v1/system/Vorlagestudiengang.php @@ -24,8 +24,8 @@ class Vorlagestudiengang extends APIv1_Controller parent::__construct(); // Load model VorlagestudiengangModel $this->load->model('system/vorlagestudiengang_model', 'VorlagestudiengangModel'); - // Load set the uid of the model to let to check the permissions - $this->VorlagestudiengangModel->setUID($this->_getUID()); + + } /** diff --git a/application/controllers/api/v1/system/Webservicelog.php b/application/controllers/api/v1/system/Webservicelog.php index 3bdf38517..d9e2597c4 100644 --- a/application/controllers/api/v1/system/Webservicelog.php +++ b/application/controllers/api/v1/system/Webservicelog.php @@ -24,8 +24,8 @@ class Webservicelog extends APIv1_Controller parent::__construct(); // Load model WebservicelogModel $this->load->model('system/webservicelog_model', 'WebservicelogModel'); - // Load set the uid of the model to let to check the permissions - $this->WebservicelogModel->setUID($this->_getUID()); + + } /** diff --git a/application/controllers/api/v1/system/Webservicerecht.php b/application/controllers/api/v1/system/Webservicerecht.php index 459f3d56a..7e1adcc58 100644 --- a/application/controllers/api/v1/system/Webservicerecht.php +++ b/application/controllers/api/v1/system/Webservicerecht.php @@ -24,8 +24,8 @@ class Webservicerecht extends APIv1_Controller parent::__construct(); // Load model WebservicerechtModel $this->load->model('system/webservicerecht_model', 'WebservicerechtModel'); - // Load set the uid of the model to let to check the permissions - $this->WebservicerechtModel->setUID($this->_getUID()); + + } /** diff --git a/application/controllers/api/v1/system/Webservicetyp.php b/application/controllers/api/v1/system/Webservicetyp.php index e29a34d21..60c2d5b7c 100644 --- a/application/controllers/api/v1/system/Webservicetyp.php +++ b/application/controllers/api/v1/system/Webservicetyp.php @@ -24,8 +24,8 @@ class Webservicetyp extends APIv1_Controller parent::__construct(); // Load model WebservicetypModel $this->load->model('system/webservicetyp_model', 'WebservicetypModel'); - // Load set the uid of the model to let to check the permissions - $this->WebservicetypModel->setUID($this->_getUID()); + + } /** diff --git a/application/controllers/api/v1/system/message_old.php b/application/controllers/api/v1/system/message_old.php index e10b6014c..05f0f5555 100644 --- a/application/controllers/api/v1/system/message_old.php +++ b/application/controllers/api/v1/system/message_old.php @@ -24,8 +24,8 @@ class message_old extends APIv1_Controller parent::__construct(); // Load model message_oldModel $this->load->model('system/message_old_model', 'message_oldModel'); - // Load set the uid of the model to let to check the permissions - $this->message_oldModel->setUID($this->_getUID()); + + } /** diff --git a/application/controllers/api/v1/testtool/Ablauf.php b/application/controllers/api/v1/testtool/Ablauf.php index d3b0c2d1b..1ce2d8fef 100644 --- a/application/controllers/api/v1/testtool/Ablauf.php +++ b/application/controllers/api/v1/testtool/Ablauf.php @@ -24,8 +24,8 @@ class Ablauf extends APIv1_Controller parent::__construct(); // Load model AblaufModel $this->load->model('testtool/ablauf_model', 'AblaufModel'); - // Load set the uid of the model to let to check the permissions - $this->AblaufModel->setUID($this->_getUID()); + + } /** diff --git a/application/controllers/api/v1/testtool/Antwort.php b/application/controllers/api/v1/testtool/Antwort.php index 127725c96..7ae8e5293 100644 --- a/application/controllers/api/v1/testtool/Antwort.php +++ b/application/controllers/api/v1/testtool/Antwort.php @@ -24,8 +24,8 @@ class Antwort extends APIv1_Controller parent::__construct(); // Load model AntwortModel $this->load->model('testtool/antwort_model', 'AntwortModel'); - // Load set the uid of the model to let to check the permissions - $this->AntwortModel->setUID($this->_getUID()); + + } /** diff --git a/application/controllers/api/v1/testtool/Frage.php b/application/controllers/api/v1/testtool/Frage.php index 01d506fcc..ec27b2435 100644 --- a/application/controllers/api/v1/testtool/Frage.php +++ b/application/controllers/api/v1/testtool/Frage.php @@ -24,8 +24,8 @@ class Frage extends APIv1_Controller parent::__construct(); // Load model FrageModel $this->load->model('testtool/frage_model', 'FrageModel'); - // Load set the uid of the model to let to check the permissions - $this->FrageModel->setUID($this->_getUID()); + + } /** diff --git a/application/controllers/api/v1/testtool/Gebiet.php b/application/controllers/api/v1/testtool/Gebiet.php index 51d671523..2814f14a2 100644 --- a/application/controllers/api/v1/testtool/Gebiet.php +++ b/application/controllers/api/v1/testtool/Gebiet.php @@ -24,8 +24,8 @@ class Gebiet extends APIv1_Controller parent::__construct(); // Load model GebietModel $this->load->model('testtool/gebiet_model', 'GebietModel'); - // Load set the uid of the model to let to check the permissions - $this->GebietModel->setUID($this->_getUID()); + + } /** diff --git a/application/controllers/api/v1/testtool/Kategorie.php b/application/controllers/api/v1/testtool/Kategorie.php index ba835df85..0cd5075e5 100644 --- a/application/controllers/api/v1/testtool/Kategorie.php +++ b/application/controllers/api/v1/testtool/Kategorie.php @@ -24,8 +24,8 @@ class Kategorie extends APIv1_Controller parent::__construct(); // Load model KategorieModel $this->load->model('testtool/kategorie_model', 'KategorieModel'); - // Load set the uid of the model to let to check the permissions - $this->KategorieModel->setUID($this->_getUID()); + + } /** diff --git a/application/controllers/api/v1/testtool/Kriterien.php b/application/controllers/api/v1/testtool/Kriterien.php index 850b973a4..acb546790 100644 --- a/application/controllers/api/v1/testtool/Kriterien.php +++ b/application/controllers/api/v1/testtool/Kriterien.php @@ -24,8 +24,8 @@ class Kriterien extends APIv1_Controller parent::__construct(); // Load model KriterienModel $this->load->model('testtool/kriterien_model', 'KriterienModel'); - // Load set the uid of the model to let to check the permissions - $this->KriterienModel->setUID($this->_getUID()); + + } /** diff --git a/application/controllers/api/v1/testtool/Pruefling.php b/application/controllers/api/v1/testtool/Pruefling.php index 1d9144cdf..65671120f 100644 --- a/application/controllers/api/v1/testtool/Pruefling.php +++ b/application/controllers/api/v1/testtool/Pruefling.php @@ -24,8 +24,8 @@ class Pruefling extends APIv1_Controller parent::__construct(); // Load model PrueflingModel $this->load->model('testtool/pruefling_model', 'PrueflingModel'); - // Load set the uid of the model to let to check the permissions - $this->PrueflingModel->setUID($this->_getUID()); + + } /** diff --git a/application/controllers/api/v1/testtool/Vorschlag.php b/application/controllers/api/v1/testtool/Vorschlag.php index cdd1fe439..0f7f0b76c 100644 --- a/application/controllers/api/v1/testtool/Vorschlag.php +++ b/application/controllers/api/v1/testtool/Vorschlag.php @@ -24,8 +24,8 @@ class Vorschlag extends APIv1_Controller parent::__construct(); // Load model VorschlagModel $this->load->model('testtool/vorschlag_model', 'VorschlagModel'); - // Load set the uid of the model to let to check the permissions - $this->VorschlagModel->setUID($this->_getUID()); + + } /** diff --git a/application/controllers/system/Messages.php b/application/controllers/system/Messages.php index e9f80e8c1..191af6623 100755 --- a/application/controllers/system/Messages.php +++ b/application/controllers/system/Messages.php @@ -22,7 +22,7 @@ class Messages extends VileSci_Controller if (empty($person_id)) $person_id = $this->input->post('person_id', TRUE); if (empty($person_id)) - $msg = $this->messagelib->getMessagesByUID($this->getUID()); + $msg = $this->messagelib->getMessagesByUID(getAuthUID()); else $msg = $this->messagelib->getMessagesByPerson($person_id); if ($msg->error) @@ -30,7 +30,7 @@ class Messages extends VileSci_Controller $data = array ( - 'uid' => $this->getUID(), + 'uid' => getAuthUID(), 'messages' => $msg->retval ); if (!empty($person_id)) @@ -47,7 +47,7 @@ class Messages extends VileSci_Controller if (empty($person_id)) $person_id = $this->input->post('person_id', TRUE); if (empty($person_id)) - $msg = $this->messagelib->getMessagesByUID($this->getUID()); + $msg = $this->messagelib->getMessagesByUID(getAuthUID()); else $msg = $this->messagelib->getMessagesByPerson($person_id); if ($msg->error) @@ -55,7 +55,7 @@ class Messages extends VileSci_Controller $data = array ( - 'uid' => $this->getUID(), + 'uid' => getAuthUID(), 'messages' => $msg->retval ); if (!empty($person_id)) diff --git a/application/core/FHC_Controller.php b/application/core/FHC_Controller.php index 66bc0c64f..497f996a9 100644 --- a/application/core/FHC_Controller.php +++ b/application/core/FHC_Controller.php @@ -1,25 +1,13 @@ load->library('session'); $this->load->helper('fhcauth'); - - $this->_uid = getAuthUID(); } - - public function getUID() - { - if (empty($this->_uid)) - return false; - else - return $this->_uid; - } - -} +} \ No newline at end of file diff --git a/application/core/FHC_Model.php b/application/core/FHC_Model.php index 13457057f..0cba3cd16 100644 --- a/application/core/FHC_Model.php +++ b/application/core/FHC_Model.php @@ -1,56 +1,23 @@ load->helper('language'); + $this->lang->load('fhc_model'); $this->lang->load('fhcomplete'); + + $this->load->helper('language'); $this->load->helper('Message'); + $this->load->helper('fhcauth'); - $uid = null; - - // Get UID from CI session - if(isset($_SESSION['uid'])) - $uid = $this->session->uid; - // Get UID from the environment (HTTP authentication via authentication.class.php) - elseif(isset($_SERVER['PHP_AUTH_USER'])) - $uid = $_SERVER['PHP_AUTH_USER']; - - // After getting UID for the first time, it saves it in CI session - if (isset($uid) && !isset($this->session->uid)) - { - $this->session->uid = $uid; - } - - $this->load->library('FHC_DB_ACL', array('uid' => $uid)); + $this->load->library('FHC_DB_ACL'); } - /** --------------------------------------------------------------- - * Set UID - * - * @param string $uid - * @return bool - */ - public function setUID($uid) - { - return $this->fhc_db_acl->setUID($uid); - } - - /** --------------------------------------------------------------- - * get UID - * - * @return string or (bool)false - */ - public function getUID() - { - return $this->fhc_db_acl->getUID(); - } - /** --------------------------------------------------------------- * Success * @@ -71,4 +38,4 @@ class FHC_Model extends CI_Model { return error($retval, $message); } -} +} \ No newline at end of file diff --git a/application/helpers/fhcauth_helper.php b/application/helpers/fhcauth_helper.php index 7a5f782b0..3d6ae438b 100644 --- a/application/helpers/fhcauth_helper.php +++ b/application/helpers/fhcauth_helper.php @@ -11,7 +11,7 @@ * @filesource */ if (! defined('BASEPATH')) exit('No direct script access allowed'); -require_once 'include/authentication.class.php'; +require_once FCPATH.'include/authentication.class.php'; /** * FHC-Auth Helpers @@ -48,20 +48,38 @@ if ( ! function_exists('auth')) return false; } } - - /** - * Look if User is logged in and return uid - * Otherwise return false - * - * @return string or (bool)false - */ - function getAuthUID() - { - // look if User is logged in and return uid - if (isset($_SERVER['PHP_AUTH_USER'])) - return $_SERVER['PHP_AUTH_USER']; - if (isset($_SESSION['uid'])) - return $_SESSION['uid']; - return false; - } } + +/** + * Look if User is logged in and return uid + * it tries to work always with CI session + * Otherwise return false + * + * @return string or (bool)false +*/ +function getAuthUID() +{ + $uid = false; + $ci =& get_instance(); // get CI instance + $ci->load->library('session'); // load session library + + // If uid hasn't never been set and is present in CI session + if ($uid === false && isset($ci->session->uid)) + $uid = $ci->session->uid; + else + { + // Try to check if uid is stored elsewhere + if (isset($_SERVER['PHP_AUTH_USER'])) + $uid = $_SERVER['PHP_AUTH_USER']; + else if (isset($_SESSION['uid'])) + $uid = $_SESSION['uid']; + } + + // If uid is set and uid in CI session is not set + if ($uid !== false && !isset($ci->session->uid)) + { + $ci->session->uid = $uid; + } + + return $uid; +} \ No newline at end of file diff --git a/application/libraries/FHC_DB_ACL.php b/application/libraries/FHC_DB_ACL.php index 0c88af34d..2818f14ab 100644 --- a/application/libraries/FHC_DB_ACL.php +++ b/application/libraries/FHC_DB_ACL.php @@ -35,8 +35,7 @@ require_once(FCPATH.'include/benutzerberechtigung.class.php'); class FHC_DB_ACL { - public $bb; - protected $_uid; + protected $bb; /** * Auth Username, Password over FH-Complete @@ -45,37 +44,17 @@ class FHC_DB_ACL * @param string $password * @return bool */ - function __construct($param = null) + function __construct() { + $this->CI =& get_instance(); + $this->CI->load->helper('fhcauth'); + $this->bb = new benutzerberechtigung(); - if (is_array($param) && isset($param['uid'])) - $this->_uid = $param['uid']; } - function isBerechtigt($berechtigung_kurzbz, $art=null, $oe_kurzbz=null, $kostenstelle_id=null) + function isBerechtigt($berechtigung_kurzbz, $art = null, $oe_kurzbz = null, $kostenstelle_id = null) { - $this->bb->getBerechtigungen($this->_uid); - return $this->bb->isBerechtigt($berechtigung_kurzbz, $oe_kurzbz=null, $art=null, $kostenstelle_id=null); + $this->bb->getBerechtigungen(getAuthUID()); + return $this->bb->isBerechtigt($berechtigung_kurzbz, $oe_kurzbz, $art, $kostenstelle_id); } - - /** --------------------------------------------------------------- - * Set UID - * - * @param string $uid - * @return bool - */ - public function setUID($uid) - { - return $this->_uid = $uid; - } - - /** --------------------------------------------------------------- - * get UID - * - * @return string or (bool)false - */ - public function getUID() - { - return $this->_uid; - } -} +} \ No newline at end of file diff --git a/application/libraries/MessageLib.php b/application/libraries/MessageLib.php index e4176c80e..24f8568b1 100644 --- a/application/libraries/MessageLib.php +++ b/application/libraries/MessageLib.php @@ -1,19 +1,19 @@ ci =& get_instance(); + $this->ci->config->load('message'); $this->ci->load->model('system/Message_model', 'MessageModel'); @@ -21,22 +21,10 @@ class MessageLib $this->ci->load->model('system/Recipient_model', 'RecipientModel'); $this->ci->load->model('system/Attachment_model', 'AttachmentModel'); - if (is_array($params) && isset($params['uid'])) - { - $this->ci->load->library('VorlageLib', array('uid' => $params['uid'])); - $this->ci->MessageModel->setUID($params['uid']); - $this->ci->MsgStatusModel->setUID($params['uid']); - $this->ci->RecipientModel->setUID($params['uid']); - $this->ci->AttachmentModel->setUID($params['uid']); - } - else - { - $this->ci->load->library('VorlageLib'); - } + $this->ci->load->library('VorlageLib'); //$this->ci->load->helper('language'); $this->ci->lang->load('message'); - } // ------------------------------------------------------------------------ diff --git a/application/libraries/PermissionLib.php b/application/libraries/PermissionLib.php index faa6dde26..de9b43844 100644 --- a/application/libraries/PermissionLib.php +++ b/application/libraries/PermissionLib.php @@ -10,8 +10,7 @@ * @since Version 1.0.0 * @filesource */ -if (! defined('FCPATH')) - exit('No direct script access allowed'); +if (! defined('FCPATH')) exit('No direct script access allowed'); require_once(FCPATH.'include/basis_db.class.php'); require_once(FCPATH.'include/organisationseinheit.class.php'); @@ -36,7 +35,6 @@ require_once(FCPATH.'include/benutzerberechtigung.class.php'); class PermissionLib { public $bb; - protected $_uid; /** * Auth Username, Password over FH-Complete @@ -45,16 +43,16 @@ class PermissionLib * @param string $password * @return bool */ - function __construct($param = null) + function __construct() { - if (is_array($param) && isset($param['uid'])) - $this->_uid = $param['uid']; + $this->CI =& get_instance(); + $this->CI->load->helper('fhcauth'); } - function isBerechtigt($berechtigung_kurzbz, $art=null, $oe_kurzbz=null, $kostenstelle_id=null) + function isBerechtigt($berechtigung_kurzbz, $art = null, $oe_kurzbz = null, $kostenstelle_id = null) { - $this->bb->getBerechtigungen($this->_uid); - return $this->bb->isBerechtigt($berechtigung_kurzbz, $oe_kurzbz=null, $art=null, $kostenstelle_id=null); + $this->bb->getBerechtigungen(getAuthUID()); + return $this->bb->isBerechtigt($berechtigung_kurzbz, $oe_kurzbz, $art, $kostenstelle_id); } function getPermissions($uid) @@ -64,15 +62,4 @@ class PermissionLib function isEntitled($berechtigung_kurzbz, $oe_kurzbz=null, $art=null, $kostenstelle_id=null) { } - - /** --------------------------------------------------------------- - * Set UID - * - * @param string $uid - * @return bool - */ - public function setUID($uid) - { - return $this->_uid = $uid; - } -} +} \ No newline at end of file diff --git a/application/libraries/PhrasesLib.php b/application/libraries/PhrasesLib.php index 3e646e98a..c2245ded2 100644 --- a/application/libraries/PhrasesLib.php +++ b/application/libraries/PhrasesLib.php @@ -1,33 +1,27 @@ ci =& get_instance(); + $this->ci->load->library('parser'); $this->ci->load->model('system/Phrase_model', 'PhraseModel'); $this->ci->load->model('system/Phrase_inhalt_model', 'PhraseInhaltModel'); - if (is_array($params) && isset($params['uid'])) - { - $this->ci->PhraseModel->setUID($params['uid']); - $this->ci->PhraseInhaltModel->setUID($params['uid']); - } - $this->ci->load->helper('language'); $this->ci->load->helper('Message'); //$this->ci->lang->load('fhcomplete'); diff --git a/application/libraries/REST_Controller.php b/application/libraries/REST_Controller.php index 65014ce59..344f922fa 100644 --- a/application/libraries/REST_Controller.php +++ b/application/libraries/REST_Controller.php @@ -352,11 +352,6 @@ abstract class REST_Controller extends CI_Controller { self::HTTP_NOT_IMPLEMENTED => 'NOT IMPLEMENTED' ]; - /** - * - */ - protected $_uid = NULL; - /** * Extend this function to apply additional checking early on in the process * @@ -1906,25 +1901,6 @@ abstract class REST_Controller extends CI_Controller { } } - /** - * TO BE COMMENTED - */ - private function _setUID($username) - { - if (!isset($this->_uid) && isset($username)) - { - $this->_uid = $username; - } - } - - /** - * @return int ID of the authenticated caller - */ - protected function _getUID() - { - return $this->_uid; - } - /** * Prepares for basic authentication * @@ -1964,10 +1940,6 @@ abstract class REST_Controller extends CI_Controller { { $this->_force_login(); } - else // If logged - { - $this->_setUID($username); - } } /** diff --git a/application/libraries/VorlageLib.php b/application/libraries/VorlageLib.php index 83a35e8c7..befcf0ca1 100644 --- a/application/libraries/VorlageLib.php +++ b/application/libraries/VorlageLib.php @@ -1,6 +1,6 @@ ci =& get_instance(); + $this->ci->load->library('parser'); + $this->ci->load->model('system/Vorlage_model', 'VorlageModel'); $this->ci->load->model('system/Vorlagestudiengang_model', 'VorlageStudiengangModel'); - if (is_array($params) && isset($params['uid'])) - { - $this->ci->VorlageModel->setUID($params['uid']); - $this->ci->VorlageStudiengangModel->setUID($params['uid']); - } - $this->ci->load->helper('language'); //$this->ci->lang->load('fhcomplete'); } diff --git a/application/models/system/Message_model.php b/application/models/system/Message_model.php index 0c342ca8c..9de60939f 100644 --- a/application/models/system/Message_model.php +++ b/application/models/system/Message_model.php @@ -1,6 +1,6 @@ getUID()) + if ($uid === getAuthUID()) { if (! $this->fhc_db_acl->isBerechtigt('basis/message', 's')) return $this->_error(lang('fhc_'.FHC_NORIGHT).' -> basis/message', FHC_MODEL_ERROR); diff --git a/tests/codeception/_data/dump.sql b/tests/codeception/_data/dump.sql index 3a6fcb774..4e72d3d4e 100644 --- a/tests/codeception/_data/dump.sql +++ b/tests/codeception/_data/dump.sql @@ -421,7 +421,8 @@ DELETE FROM system.tbl_rolleberechtigung WHERE berechtigung_kurzbz IN ( 'lehre/reservierung', 'lehre/reihungstest', 'wawi/inventar:begrenzt', - 'fs/dms' + 'fs/dms', + 'basis/phrase' ); -- DELETE FROM system.tbl_berechtigung @@ -648,7 +649,8 @@ DELETE FROM system.tbl_berechtigung WHERE berechtigung_kurzbz IN ( 'lehre/reservierung', 'lehre/reihungstest', 'wawi/inventar:begrenzt', - 'fs/dms' + 'fs/dms', + 'basis/phrase' ); -- INSERT Permissions @@ -875,6 +877,7 @@ INSERT INTO system.tbl_berechtigung (berechtigung_kurzbz, beschreibung) VALUES(' INSERT INTO system.tbl_berechtigung (berechtigung_kurzbz, beschreibung) VALUES('wawi/inventar:begrenzt', ''); INSERT INTO system.tbl_berechtigung (berechtigung_kurzbz, beschreibung) VALUES('fs/dms', ''); INSERT INTO system.tbl_berechtigung (berechtigung_kurzbz, beschreibung) VALUES('basis/message', ''); +INSERT INTO system.tbl_berechtigung (berechtigung_kurzbz, beschreibung) VALUES('basis/phrase', ''); -- INSERT link between user admin and permissions INSERT INTO system.tbl_rolleberechtigung (berechtigung_kurzbz, rolle_kurzbz, art) VALUES('basis/archiv', 'admin', 'suid'); @@ -1100,6 +1103,7 @@ INSERT INTO system.tbl_rolleberechtigung (berechtigung_kurzbz, rolle_kurzbz, art INSERT INTO system.tbl_rolleberechtigung (berechtigung_kurzbz, rolle_kurzbz, art) VALUES('wawi/inventar:begrenzt', 'admin', 'suid'); INSERT INTO system.tbl_rolleberechtigung (berechtigung_kurzbz, rolle_kurzbz, art) VALUES('fs/dms', 'admin', 'suid'); INSERT INTO system.tbl_rolleberechtigung (berechtigung_kurzbz, rolle_kurzbz, art) VALUES('basis/message', 'admin', 'suid'); +INSERT INTO system.tbl_rolleberechtigung (berechtigung_kurzbz, rolle_kurzbz, art) VALUES('basis/phrase', 'admin', 'suid'); -- EMPTY public.tbl_statistik DELETE FROM public.tbl_statistik;