mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-23 09:52:22 +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:
@@ -30,7 +30,7 @@ class Bundesland extends APIv1_Controller
|
||||
|
||||
public function getAll()
|
||||
{
|
||||
$result = $this->BundeslandModel->loadWhole();
|
||||
$result = $this->BundeslandModel->load();
|
||||
|
||||
$this->response($result, REST_Controller::HTTP_OK);
|
||||
}
|
||||
|
||||
@@ -63,7 +63,7 @@ class Nation extends APIv1_Controller
|
||||
}
|
||||
else
|
||||
{
|
||||
$result = $this->NationModel->loadWhole();
|
||||
$result = $this->NationModel->load();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -52,7 +52,7 @@ class Orgform extends APIv1_Controller
|
||||
*/
|
||||
public function getAll()
|
||||
{
|
||||
$result = $this->OrgformModel->loadWhole();
|
||||
$result = $this->OrgformModel->load();
|
||||
|
||||
$this->response($result, REST_Controller::HTTP_OK);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user