summaryrefslogtreecommitdiffstats
path: root/lib/files/storage/local.php
diff options
context:
space:
mode:
authorThomas Mueller <thomas.mueller@tmit.eu>2013-02-04 20:49:01 +0100
committerThomas Mueller <thomas.mueller@tmit.eu>2013-02-04 20:49:01 +0100
commit02e6adfdb3dd08684f426a2e101e5042dddce734 (patch)
tree86b2b61aafaf988d54ff60de5bdbb59b5ff3a857 /lib/files/storage/local.php
parenta7e62b03666dc7395ffea9c0e794ee4ab69fde97 (diff)
downloadnextcloud-server-02e6adfdb3dd08684f426a2e101e5042dddce734.tar.gz
nextcloud-server-02e6adfdb3dd08684f426a2e101e5042dddce734.zip
fixing namespace
Diffstat (limited to 'lib/files/storage/local.php')
-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;