mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-24 10:22:18 +00:00
The method loadWhole has been removed from model DB_Model.
The same functionality has given by calling the load method without parameters
This commit is contained in:
@@ -54,7 +54,7 @@ class Statistik extends APIv1_Controller
|
||||
{
|
||||
$this->StatistikModel->addOrder($this->get('order'));
|
||||
|
||||
$result = $this->StatistikModel->loadWhole();
|
||||
$result = $this->StatistikModel->load();
|
||||
|
||||
$this->response($result, REST_Controller::HTTP_OK);
|
||||
}
|
||||
@@ -68,7 +68,7 @@ class Statistik extends APIv1_Controller
|
||||
$this->StatistikModel->addOrder('bezeichnung');
|
||||
$this->StatistikModel->addOrder('statistik_kurzbz');
|
||||
|
||||
$result = $this->StatistikModel->loadWhole();
|
||||
$result = $this->StatistikModel->load();
|
||||
|
||||
$this->response($result, REST_Controller::HTTP_OK);
|
||||
}
|
||||
|
||||
@@ -89,7 +89,7 @@ class Studiensemester extends APIv1_Controller
|
||||
$this->StudiensemesterModel->addOrder('ende', 'ASC');
|
||||
}
|
||||
|
||||
$result = $this->StudiensemesterModel->loadWhole();
|
||||
$result = $this->StudiensemesterModel->load();
|
||||
|
||||
$this->response($result, REST_Controller::HTTP_OK);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user