can I comment this two function ?

Hi,In model/User.php can i comment this two functions ?

because in my User table I have only 3 columns id,username and password.




  /**

     * @inheritdoc

     */

    public static function findIdentity($id)

    {

       // return isset(self::$users[$id]) ? new static(self::$users[$id]) : null;

    }


    /**

     * @inheritdoc

     */

    public static function findIdentityByAccessToken($token, $type = null)

    {

        /*foreach (self::$users as $user) {

            if ($user['accessToken'] === $token) {

                return new static($user);

            }

        }*/


      //  return null;

    }




No because these are part of IdentityInterface.

But I am using the database now,I am not using the static user which is the default in yii…In my table user I don’t have column accessToken.