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

@ -20,9 +20,9 @@ namespace models;
/**
* Return array of all settings.
*/
public function all(): array
public function get_all(): array
{
return $this->_select('setting', [], '', false);
return $this->_select('setting');
}
/**