]> Raphaƫl G. Git Repositories - airbundle/blobdiff - Entity/User.php
Fix flash message translation
[airbundle] / Entity / User.php
index bd9f802333f9fb11db38c0598e38f51da4371d07..d521bd46e3d2e04f9e0ce2a098064490298d0eb7 100644 (file)
@@ -24,13 +24,6 @@ class User extends BaseUser {
         */
        private $applications;
 
         */
        private $applications;
 
-       /**
-        * Constructor
-        */
-       public function __construct() {
-               parent::__construct();
-       }
-
        /**
         * Set phone
         *
        /**
         * Set phone
         *
@@ -114,15 +107,4 @@ class User extends BaseUser {
        public function getApplications() {
                return $this->applications;
        }
        public function getApplications() {
                return $this->applications;
        }
-
-       /**
-        * Get roles
-        *
-        * @return array
-        */
-       public function getRoles() {
-               //Return roles array
-               //XXX: [ ROLE_USER, ROLE_XXX, ... ]
-               return parent::getRoles();
-       }
 }
 }