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/settings | |
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/settings')
-rw-r--r-- | apps/settings/lib/UserMigration/AccountMigrator.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/settings/lib/UserMigration/AccountMigrator.php b/apps/settings/lib/UserMigration/AccountMigrator.php index bf1af10d464..4db28306eb1 100644 --- a/apps/settings/lib/UserMigration/AccountMigrator.php +++ b/apps/settings/lib/UserMigration/AccountMigrator.php @@ -153,7 +153,7 @@ class AccountMigrator implements IMigrator, ISizeEstimationMigrator { $output->writeln('Importing avatar from ' . $importPath . '…'); $stream = $importSource->getFileAsStream($importPath); - $image = new \OC_Image(); + $image = new \OCP\Image(); $image->loadFromFileHandle($stream); try { |