fix settings controllers and models

This commit is contained in:
osaajani 2019-11-08 19:17:47 +01:00
parent 65ab7a4b1b
commit 0442f8a9a6
5 changed files with 8 additions and 10 deletions

View file

@ -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();
}
/**

View file

@ -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();
}
/**