Fix template helper bug due to previous refactoring
This commit is contained in:
@@ -10,6 +10,17 @@ namespace Helper;
|
||||
*/
|
||||
class User extends \Core\Base
|
||||
{
|
||||
/**
|
||||
* Get user id
|
||||
*
|
||||
* @access public
|
||||
* @return integer
|
||||
*/
|
||||
public function getId()
|
||||
{
|
||||
return $this->userSession->getId();
|
||||
}
|
||||
|
||||
/**
|
||||
* Get user profile
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user