Commit 6b73b75e authored by Dries's avatar Dries

- Patch #1023742 by pillarsdotnet: remove cruft from user_save().

parent eeadb939
......@@ -404,8 +404,6 @@ function user_load_by_name($name) {
function user_save($account, $edit = array(), $category = 'account') {
$transaction = db_transaction();
try {
$table = drupal_get_schema('users');
if (!empty($edit['pass'])) {
// Allow alternate password hashing schemes.
require_once DRUPAL_ROOT . '/' . variable_get('password_inc', 'includes/password.inc');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment