From 8e4a61aed2d590ea423f0e6a4310048da8018c11 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=B4me=20Chilliet?= <91878298+come-nc@users.noreply.github.com> Date: Tue, 3 Sep 2024 11:46:57 +0200 Subject: [PATCH] fix: Move away from OC_Image Use public OCP\Image instead. --- lib/Service/LoginService.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Service/LoginService.php b/lib/Service/LoginService.php index 8fc50b9..adde6cf 100644 --- a/lib/Service/LoginService.php +++ b/lib/Service/LoginService.php @@ -395,7 +395,7 @@ private function updateBasicProfile(IUser $user, array $profile): void $raw = curl_exec($curl); if (200 === curl_getinfo($curl, CURLINFO_HTTP_CODE)) { - $image = new \OC_Image(); + $image = new \OCP\Image(); $image->loadFromData($raw); $image->centerCrop();