diff options
author | Robin Appelman <icewind@owncloud.com> | 2012-10-10 13:18:36 +0200 |
---|---|---|
committer | Robin Appelman <icewind@owncloud.com> | 2012-10-10 13:18:36 +0200 |
commit | aaa1b733642c41821a53bc6d04fab246bfe7f1e6 (patch) | |
tree | d5eb087401acb4591f176a87c01f276f42a307af /lib/image.php | |
parent | c88c54bbb054fe2d79b3a93604989d527b5dd444 (diff) | |
download | nextcloud-server-aaa1b733642c41821a53bc6d04fab246bfe7f1e6.tar.gz nextcloud-server-aaa1b733642c41821a53bc6d04fab246bfe7f1e6.zip |
don't use depricated OC_Filesystem
Diffstat (limited to 'lib/image.php')
-rw-r--r-- | lib/image.php | 2 |
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; |