summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2013-02-04 12:52:56 -0800
committerThomas Müller <thomas.mueller@tmit.eu>2013-02-04 12:52:56 -0800
commit6e5f211ad1e1967752a427048ff165c9d0ed78db (patch)
tree524b8fd214fd39c56f4e8bf0a9d89d58b32c6568
parent68fe6d0077ec97c28c3b320678aa46235ac5a4a6 (diff)
parent02e6adfdb3dd08684f426a2e101e5042dddce734 (diff)
downloadnextcloud-server-6e5f211ad1e1967752a427048ff165c9d0ed78db.tar.gz
nextcloud-server-6e5f211ad1e1967752a427048ff165c9d0ed78db.zip
Merge pull request #1449 from owncloud/fixing-namespace-local-storage-master
fixing namespace in local storage
-rw-r--r--lib/files/storage/local.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/files/storage/local.php b/lib/files/storage/local.php
index 9fc9d375bb3..a5db4ba9194 100644
--- a/lib/files/storage/local.php
+++ b/lib/files/storage/local.php
@@ -184,7 +184,7 @@ class Local extends \OC\Files\Storage\Common{
// Windows OS: we use COM to access the filesystem
if (strpos($name, 'win') !== false) {
if (class_exists('COM')) {
- $fsobj = new COM("Scripting.FileSystemObject");
+ $fsobj = new \COM("Scripting.FileSystemObject");
$f = $fsobj->GetFile($fullPath);
return $f->Size;
}
@@ -197,7 +197,7 @@ class Local extends \OC\Files\Storage\Common{
return (float)exec('stat -c %s ' . escapeshellarg($fullPath));
}
} else {
- OC_Log::write('core', 'Unable to determine file size of "'.$fullPath.'". Unknown OS: '.$name, OC_Log::ERROR);
+ \OC_Log::write('core', 'Unable to determine file size of "'.$fullPath.'". Unknown OS: '.$name, \OC_Log::ERROR);
}
return 0;