Update plugin doc

This commit is contained in:
Frederic Guillot
2015-12-06 14:48:59 -05:00
parent 6d4286ec66
commit 70c65268fe
17 changed files with 380 additions and 59 deletions

View File

@@ -289,7 +289,7 @@ class User extends Base
$result = $this->db->table(self::TABLE)->eq('id', $values['id'])->update($values);
// If the user is connected refresh his session
if (SessionManager::isOpen() && $this->userSession->getId() == $values['id']) {
if ($this->userSession->getId() == $values['id']) {
$this->userSession->initialize($this->getById($this->userSession->getId()));
}