summaryrefslogtreecommitdiffstats
path: root/lib/private/Preview/Bundled.php
diff options
context:
space:
mode:
authorChristopher Ng <chrng8@gmail.com>2022-06-02 00:37:36 +0000
committerChristopher Ng <chrng8@gmail.com>2022-06-02 00:37:36 +0000
commit57c66bf7cb772d5d6d7a17f10cd90adf48884b2d (patch)
tree1043929d764925819b9e4befe499a9ea3607ae7e /lib/private/Preview/Bundled.php
parent4e5ed32025398e006f40e819428270d209994e03 (diff)
downloadnextcloud-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 'lib/private/Preview/Bundled.php')
-rw-r--r--lib/private/Preview/Bundled.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Preview/Bundled.php b/lib/private/Preview/Bundled.php
index 063c69ba5dd..df7f630dff7 100644
--- a/lib/private/Preview/Bundled.php
+++ b/lib/private/Preview/Bundled.php
@@ -43,7 +43,7 @@ abstract class Bundled extends ProviderV2 {
$zip = new ZIP($sourceTmp);
$zip->extractFile($path, $targetTmp);
- $image = new \OC_Image();
+ $image = new \OCP\Image();
$image->loadFromFile($targetTmp);
$image->fixOrientation();