Version 1
[yaffs-website] / vendor / drush / drush / lib / Drush / User / User7.php
diff --git a/vendor/drush/drush/lib/Drush/User/User7.php b/vendor/drush/drush/lib/Drush/User/User7.php
new file mode 100644 (file)
index 0000000..531cacb
--- /dev/null
@@ -0,0 +1,14 @@
+<?php
+
+namespace Drush\User;
+
+class User7 extends UserVersion {
+
+  /**
+   * {inheritdoc}
+   */
+  public function create($properties) {
+    $account = user_save(NULL, $properties, NULL);
+    return new UserSingle7($account);
+  }
+}