Skip to content

Commit

Permalink
Merge pull request #33 from ryanaslett/username_spaces
Browse files Browse the repository at this point in the history
username_spaces

Signed-off-by: Jonathan Hedstrom <[email protected]>
  • Loading branch information
jhedstrom committed May 22, 2015
1 parent 58a4aa2 commit b32ba2c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Drupal/Driver/DrushDriver.php
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ public function isBootstrapped() {
*/
public function userCreate(\stdClass $user) {
$arguments = array(
$user->name,
sprintf('"%s"', $user->name),
);
$options = array(
'password' => $user->pass,
Expand All @@ -138,7 +138,7 @@ public function userCreate(\stdClass $user) {
* {@inheritDoc}
*/
public function userDelete(\stdClass $user) {
$arguments = array($user->name);
$arguments = array(sprintf('"%s"', $user->name),);
$options = array(
'yes' => NULL,
'delete-content' => NULL,
Expand All @@ -152,7 +152,7 @@ public function userDelete(\stdClass $user) {
public function userAddRole(\stdClass $user, $role) {
$arguments = array(
sprintf('"%s"', $role),
$user->name
sprintf('"%s"', $user->name),
);
$this->drush('user-add-role', $arguments);
}
Expand Down

0 comments on commit b32ba2c

Please sign in to comment.