There was an error while loading. Please reload this page.
1 parent 3258ad8 commit a5544f0Copy full SHA for a5544f0
1 file changed
migrate-contacts-to-dav-cards.php
@@ -82,7 +82,7 @@ public static function init($iUserId)
82
{
83
$bInitialized = false;
84
if (self::$InitialisedUserId !== $iUserId) {
85
- $oUser = CoreModule::Decorator()->GetUserWithoutRoleCheck($iUserId);
+ $oUser = \Aurora\Api::getUserById($iUserId);
86
self::$InitialisedUserId = $iUserId;
87
if ($oUser) {
88
$aPrincipalProperties = \Afterlogic\DAV\Backend::Principal()->getPrincipalByPath(Constants::PRINCIPALS_PREFIX . $oUser->PublicId);
0 commit comments