diff options
Diffstat (limited to 'apps/files_external/lib/swift.php')
-rwxr-xr-x[-rw-r--r--] | apps/files_external/lib/swift.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/apps/files_external/lib/swift.php b/apps/files_external/lib/swift.php index a987d17d799..aaba79d9b7b 100644..100755 --- a/apps/files_external/lib/swift.php +++ b/apps/files_external/lib/swift.php @@ -164,7 +164,7 @@ class OC_FileStorage_SWIFT extends OC_Filestorage_Common{ * @return array */ private function getSubContainers($container){ - $tmpFile=OC_Helper::tmpFile(); + $tmpFile=OCP\Util::tmpFile(); $obj=$this->getSubContainerFile($container); try{ $obj->save_to_filename($tmpFile); @@ -190,7 +190,7 @@ class OC_FileStorage_SWIFT extends OC_Filestorage_Common{ if(!$name){ return false; } - $tmpFile=OC_Helper::tmpFile(); + $tmpFile=OCP\Util::tmpFile(); $obj=$this->getSubContainerFile($container); try{ $obj->save_to_filename($tmpFile); @@ -225,7 +225,7 @@ class OC_FileStorage_SWIFT extends OC_Filestorage_Common{ if(!$name){ return false; } - $tmpFile=OC_Helper::tmpFile(); + $tmpFile=OCP\Util::tmpFile(); $obj=$this->getSubContainerFile($container); try{ $obj->save_to_filename($tmpFile); @@ -501,7 +501,7 @@ class OC_FileStorage_SWIFT extends OC_Filestorage_Common{ private function getTmpFile($path){ $obj=$this->getObject($path); if(!is_null($obj)){ - $tmpFile=OC_Helper::tmpFile(); + $tmpFile=OCP\Util::tmpFile(); $obj->save_to_filename($tmpFile); return $tmpFile; }else{ |