diff options
author | Christopher Ng <chrng8@gmail.com> | 2022-06-02 00:37:36 +0000 |
---|---|---|
committer | Christopher Ng <chrng8@gmail.com> | 2022-06-02 00:37:36 +0000 |
commit | 57c66bf7cb772d5d6d7a17f10cd90adf48884b2d (patch) | |
tree | 1043929d764925819b9e4befe499a9ea3607ae7e /apps/dav | |
parent | 4e5ed32025398e006f40e819428270d209994e03 (diff) | |
download | nextcloud-server-57c66bf7cb772d5d6d7a17f10cd90adf48884b2d.tar.gz nextcloud-server-57c66bf7cb772d5d6d7a17f10cd90adf48884b2d.zip |
Use Image class from public API
Signed-off-by: Christopher Ng <chrng8@gmail.com>
Diffstat (limited to 'apps/dav')
-rw-r--r-- | apps/dav/lib/CardDAV/PhotoCache.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/dav/lib/CardDAV/PhotoCache.php b/apps/dav/lib/CardDAV/PhotoCache.php index 777a0b0e169..101111f9310 100644 --- a/apps/dav/lib/CardDAV/PhotoCache.php +++ b/apps/dav/lib/CardDAV/PhotoCache.php @@ -133,7 +133,7 @@ class PhotoCache { throw new NotFoundException; } - $photo = new \OC_Image(); + $photo = new \OCP\Image(); /** @var ISimpleFile $file */ $file = $folder->getFile('photo.' . $ext); $photo->loadFromData($file->getContent()); |