src/libraries/adapters/DatabaseSimpleDb.php
/**
    * Add a new user to the database
    * This method does not overwrite existing values present in $params - hence "new user".
    *
    * @param string $id ID of the user to update which is always 1.
    * @param array $params Attributes to update.
    * @return boolean
    */
Add a new user to the database
This method does not overwrite existing values present in $params - hence "new user".

@param string $id ID of the user to update which is always 1.
@param array $params Attributes to update.
@return boolean
Add a new user to the database This method does not overwrite existing values present in $params - hence " new user " . @param string $id ID of the user to update which is always 1 . @param array $params Attributes to update . @return boolean
public function putUser($params)
  {
    if(isset($params['password']) && empty($params['password']))
      unset($params['password']);
    $res = $this->db->put_attributes($this->domainUser, $this->owner, $params);
    $this->logErrors($res);
    return $res->isOK();
  }
public function putUser ( $ params ) { if ( isset ( $ params [ 'password' ] ) && empty ( $ params [ 'password' ] ) ) unset ( $ params [ 'password' ] ) ; $ res = $ this -> db -> put_attributes ( $ this -> domainUser , $ this -> owner , $ params ) ; $ this -> logErrors ( $ res ) ; return $ res -> isOK ( ) ; }
Add a new user to the database
 This method does not overwrite existing values present in $params - hence "new user".
Add a new user to the database This method does not overwrite existing values present in $params - hence " new user " .