summaryrefslogtreecommitdiffstats
path: root/lib/filestorage
diff options
context:
space:
mode:
authorJakob Sack <kde@jakobsack.de>2011-07-29 21:36:03 +0200
committerJakob Sack <kde@jakobsack.de>2011-07-29 21:36:03 +0200
commitbafd684eb694ed0bd86b46ff7cd36382c1cebc34 (patch)
treec3bb1e013d563263002d052eb41032076a36a5f9 /lib/filestorage
parent220132ca237f5077f5145bf327e8528a652ad559 (diff)
downloadnextcloud-server-bafd684eb694ed0bd86b46ff7cd36382c1cebc34.tar.gz
nextcloud-server-bafd684eb694ed0bd86b46ff7cd36382c1cebc34.zip
Renaming classes :-)
Diffstat (limited to 'lib/filestorage')
-rw-r--r--lib/filestorage/local.php4
-rw-r--r--lib/filestorage/remote.php4
2 files changed, 4 insertions, 4 deletions
diff --git a/lib/filestorage/local.php b/lib/filestorage/local.php
index fd3f043de3b..3bbdd6b4137 100644
--- a/lib/filestorage/local.php
+++ b/lib/filestorage/local.php
@@ -2,7 +2,7 @@
/**
* for local filestore, we only have to map the paths
*/
-class OC_FILESTORAGE_LOCAL extends OC_FILESTORAGE{
+class OC_Filestorage_Local extends OC_Filestorage{
private $datadir;
private static $mimetypes=null;
public function __construct($arguments){
@@ -138,7 +138,7 @@ class OC_FILESTORAGE_LOCAL extends OC_FILESTORAGE{
} else if (function_exists("mime_content_type")) {
// use mime magic extension if available
$mime_type = mime_content_type($this->datadir.$fspath);
- } else if (OC_HELPER::canExecute("file")) {
+ } else if (OC_Helper::canExecute("file")) {
// it looks like we have a 'file' command,
// lets see it it does have mime support
$fp = popen("file -i -b '{$this->datadir}$fspath' 2>/dev/null", "r");
diff --git a/lib/filestorage/remote.php b/lib/filestorage/remote.php
index 74234f4d8db..fb14c4121a2 100644
--- a/lib/filestorage/remote.php
+++ b/lib/filestorage/remote.php
@@ -21,7 +21,7 @@
*
*/
-class OC_FILESTORAGE_REMOTE extends OC_FILESTORAGE{
+class OC_Filestorage_Remote extends OC_Filestorage{
private $url;
private $username;
private $password;
@@ -45,7 +45,7 @@ class OC_FILESTORAGE_REMOTE extends OC_FILESTORAGE{
}
private function connect(){
if($this->remote===false){
- $this->remote=OC_CONNECT::connect($this->url,$this->username,$this->password);
+ $this->remote=OC_Connect::connect($this->url,$this->username,$this->password);
}
}
public function mkdir($path){