Fix D6 issues

That's definitely doable, but it doesn't seen performance to needlessly
create a whole new object when we can just pass the reference. What's your
concern about changing the interface? Are there other libraries that are
implementing it?
On Jul 24, 2014 7:38 PM, "Jonathan Hedstrom" <notifications@github.com>
wrote:

> In src/Drupal/Driver/Cores/Drupal6.php:
>
> >
> > -    user_save($account, (array) $user);
> > +    // Create the user.
> > +    $user = user_save('', (array) $user);
>
> This is the change that requires the user object to be explicitly passed
> by reference. I'd prefer to see a fix that doesn't require changing the
> driver interface, but rather something like this:
>
> $account = clone $user;
> user_save('', (array) $account);
> $user->uid = $account->uid;
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/jhedstrom/drupalextension/pull/44/files#r15379586>.
>