N°2363 - Fix typo

This commit is contained in:
Eric
2020-08-27 10:50:34 +02:00
parent 3b6a03d703
commit 1afc6cd4c5
2 changed files with 3 additions and 3 deletions

View File

@@ -107,7 +107,7 @@ class LoginWebPage extends NiceWebPage
* @throws \CoreException * @throws \CoreException
* @throws \CoreUnexpectedValue * @throws \CoreUnexpectedValue
*/ */
public static function SynchroniseProfiles(&$oUser, array $aProfiles, $sOrigin) public static function SynchronizeProfiles(&$oUser, array $aProfiles, $sOrigin)
{ {
$oProfilesSet = $oUser->Get(profile_list); $oProfilesSet = $oUser->Get(profile_list);
//delete old profiles //delete old profiles
@@ -928,7 +928,7 @@ class LoginWebPage extends NiceWebPage
{ {
$sOrigin .= " ({$_SESSION['login_mode']})"; $sOrigin .= " ({$_SESSION['login_mode']})";
} }
$aExistingProfiles = self::SynchroniseProfiles($oUser, $aProfiles, $sOrigin); $aExistingProfiles = self::SynchronizeProfiles($oUser, $aProfiles, $sOrigin);
if ($oUser->IsModified()) if ($oUser->IsModified())
{ {
$oUser->DBWrite(); $oUser->DBWrite();

View File

@@ -496,7 +496,7 @@ class CASUserProvisioning
} }
// Now synchronize the profiles // Now synchronize the profiles
LoginWebPage::SynchroniseProfiles($oUser, $aProfiles, 'CAS/LDAP Synchro'); LoginWebPage::SynchronizeProfiles($oUser, $aProfiles, 'CAS/LDAP Synchro');
phpCAS::log("Info: the user '".$oUser->GetName()."' (id=".$oUser->GetKey().") now has the following profiles: '".implode("', '", $aProfiles)."'."); phpCAS::log("Info: the user '".$oUser->GetName()."' (id=".$oUser->GetKey().") now has the following profiles: '".implode("', '", $aProfiles)."'.");
if ($oUser->IsModified()) if ($oUser->IsModified())