Skip to content

Commit a5544f0

Browse files
committed
Remove GetTenantWithoutRoleCheck and GetUserWithoutRoleCheck
1 parent 3258ad8 commit a5544f0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

migrate-contacts-to-dav-cards.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ public static function init($iUserId)
8282
{
8383
$bInitialized = false;
8484
if (self::$InitialisedUserId !== $iUserId) {
85-
$oUser = CoreModule::Decorator()->GetUserWithoutRoleCheck($iUserId);
85+
$oUser = \Aurora\Api::getUserById($iUserId);
8686
self::$InitialisedUserId = $iUserId;
8787
if ($oUser) {
8888
$aPrincipalProperties = \Afterlogic\DAV\Backend::Principal()->getPrincipalByPath(Constants::PRINCIPALS_PREFIX . $oUser->PublicId);

0 commit comments

Comments
 (0)