Silent user creation warning.

remotes/angel/1.11.x
Julio 8 years ago
parent 845ff64771
commit d0aa3d39a4
  1. 2
      main/inc/lib/usermanager.lib.php
  2. 6
      main/install/install.lib.php

@ -366,7 +366,7 @@ class UserManager
}
// Silence password_hash deprecated warning
@$userManager->updateUser($user);
$userManager->updateUser($user);
$userId = $user->getId();
if (!empty($userId)) {

@ -2711,7 +2711,7 @@ function finishInstallation(
UserManager::setPasswordEncryption($encryptPassForm);
// Create admin user.
UserManager::create_user(
@UserManager::create_user(
$adminFirstName,
$adminLastName,
1,
@ -2733,7 +2733,7 @@ function finishInstallation(
);
// Create anonymous user.
UserManager::create_user(
@UserManager::create_user(
'Joe',
'Anonymous',
6,
@ -3024,4 +3024,4 @@ function migrateSwitch($fromVersion, $manager, $processFiles = true)
echo '</div>';
return true;
}
}

Loading…
Cancel
Save