Skip to content

Commit

Permalink
fix: Move away from OC_Image
Browse files Browse the repository at this point in the history
Use public OCP\Image instead.
  • Loading branch information
come-nc authored Sep 3, 2024
1 parent f363e16 commit 8e4a61a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Service/LoginService.php
Original file line number Diff line number Diff line change
Expand Up @@ -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();

Expand Down

0 comments on commit 8e4a61a

Please sign in to comment.