Beispiel #1
0
 private function setUserInformation()
 {
     $login = \Manager::getLogin();
     if (!$login) {
         $userId = 1;
     } else {
         $userId = $login->getIdUser();
     }
     $userIP = filter_input(INPUT_SERVER, 'REMOTE_ADDR');
     $this->platform->setUserInformation($userId, $userIP, null, null);
 }