From 1afc6cd4c526c939ced7b581bcadcf1e0565e1f4 Mon Sep 17 00:00:00 2001 From: Eric Date: Thu, 27 Aug 2020 10:50:34 +0200 Subject: [PATCH] =?UTF-8?q?N=C2=B02363=20-=20Fix=20typo?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/loginwebpage.class.inc.php | 4 ++-- datamodels/2.x/authent-cas/src/CASLoginExtension.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/application/loginwebpage.class.inc.php b/application/loginwebpage.class.inc.php index ab594b21d4..02caac304c 100644 --- a/application/loginwebpage.class.inc.php +++ b/application/loginwebpage.class.inc.php @@ -107,7 +107,7 @@ class LoginWebPage extends NiceWebPage * @throws \CoreException * @throws \CoreUnexpectedValue */ - public static function SynchroniseProfiles(&$oUser, array $aProfiles, $sOrigin) + public static function SynchronizeProfiles(&$oUser, array $aProfiles, $sOrigin) { $oProfilesSet = $oUser->Get(‘profile_list’); //delete old profiles @@ -928,7 +928,7 @@ class LoginWebPage extends NiceWebPage { $sOrigin .= " ({$_SESSION['login_mode']})"; } - $aExistingProfiles = self::SynchroniseProfiles($oUser, $aProfiles, $sOrigin); + $aExistingProfiles = self::SynchronizeProfiles($oUser, $aProfiles, $sOrigin); if ($oUser->IsModified()) { $oUser->DBWrite(); diff --git a/datamodels/2.x/authent-cas/src/CASLoginExtension.php b/datamodels/2.x/authent-cas/src/CASLoginExtension.php index 8489d06d6c..590b298b85 100644 --- a/datamodels/2.x/authent-cas/src/CASLoginExtension.php +++ b/datamodels/2.x/authent-cas/src/CASLoginExtension.php @@ -496,7 +496,7 @@ class CASUserProvisioning } // 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)."'."); if ($oUser->IsModified())