Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2012-10-10 15:18:36 +0400
committerRobin Appelman <icewind@owncloud.com>2012-10-10 15:18:36 +0400
commitaaa1b733642c41821a53bc6d04fab246bfe7f1e6 (patch)
treed5eb087401acb4591f176a87c01f276f42a307af /lib/image.php
parentc88c54bbb054fe2d79b3a93604989d527b5dd444 (diff)
don't use depricated OC_Filesystem
Diffstat (limited to 'lib/image.php')
-rw-r--r--lib/image.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/image.php b/lib/image.php
index 861353e039d..94fe3ce827a 100644
--- a/lib/image.php
+++ b/lib/image.php
@@ -470,7 +470,7 @@ class OC_Image {
default:
// this is mostly file created from encrypted file
- $this->resource = imagecreatefromstring(\OC_Filesystem::file_get_contents(\OC_Filesystem::getLocalPath($imagepath)));
+ $this->resource = imagecreatefromstring(\OC\Files\Filesystem::file_get_contents(\OC\Files\Filesystem::getLocalPath($imagepath)));
$itype = IMAGETYPE_PNG;
OC_Log::write('core','OC_Image->loadFromFile, Default', OC_Log::DEBUG);
break;