Code improve noalyss_user: isolate repository from db

This commit is contained in:
sparkyx 2025-08-10 18:29:07 +02:00
parent 894a77618f
commit 69b690c4cb
7 changed files with 509 additions and 102 deletions

View file

@ -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="";