Code improve noalyss_user: isolate repository from db
This commit is contained in:
parent
894a77618f
commit
69b690c4cb
7 changed files with 509 additions and 102 deletions
|
|
@ -28,7 +28,7 @@
|
|||
* var $this (Noalyss_User)
|
||||
*/
|
||||
global $g_user;
|
||||
$repository = new \Database();
|
||||
$repository = $this->repository;
|
||||
|
||||
// $uuid is set only when a message with the code
|
||||
$str="";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue