mirror of
https://github.com/RaspbianFrance/raspisms.git
synced 2025-04-20 16:37:48 +02:00
fix settings controllers and models
This commit is contained in:
parent
65ab7a4b1b
commit
0442f8a9a6
5 changed files with 8 additions and 10 deletions
|
@ -26,9 +26,9 @@ namespace controllers\internals;
|
|||
*
|
||||
* @return array || false
|
||||
*/
|
||||
public function all()
|
||||
public function get_all()
|
||||
{
|
||||
return $this->model_setting->all();
|
||||
return $this->model_setting->get_all();
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -29,8 +29,6 @@ namespace controllers\publics;
|
|||
$bdd = \descartes\Model::_connect(DATABASE_HOST, DATABASE_NAME, DATABASE_USER, DATABASE_PASSWORD);
|
||||
|
||||
$this->internal_user = new \controllers\internals\User($bdd);
|
||||
|
||||
\controllers\internals\Tool::verifyconnect();
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue