summaryrefslogtreecommitdiffstats
path: root/apps/files/ajax/upload.php
diff options
context:
space:
mode:
authorJörn Friedrich Dreyer <jfd@butonic.de>2013-09-20 16:46:33 +0200
committerJörn Friedrich Dreyer <jfd@butonic.de>2013-09-20 16:46:33 +0200
commit4b3e56bcf9a040db67a1ec3cc9bddda751a79bdb (patch)
tree50fdac273f6202d1f22dd2b4bbe206c10312df3d /apps/files/ajax/upload.php
parent9e39118b526afe6464fc15ea3fa5ed6301f1f63d (diff)
downloadnextcloud-server-4b3e56bcf9a040db67a1ec3cc9bddda751a79bdb.tar.gz
nextcloud-server-4b3e56bcf9a040db67a1ec3cc9bddda751a79bdb.zip
remove unneccessary lib in namespace
Diffstat (limited to 'apps/files/ajax/upload.php')
-rw-r--r--apps/files/ajax/upload.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/files/ajax/upload.php b/apps/files/ajax/upload.php
index e07e2c07f3a..0920bf62109 100644
--- a/apps/files/ajax/upload.php
+++ b/apps/files/ajax/upload.php
@@ -53,7 +53,7 @@ OCP\JSON::callCheck();
// get array with current storage stats (e.g. max file size)
-$storageStats = \OCA\Files\Lib\Helper::buildFileStorageStatistics($dir);
+$storageStats = \OCA\Files\Helper::buildFileStorageStatistics($dir);
if (!isset($_FILES['files'])) {
OCP\JSON::error(array('data' => array_merge(array('message' => $l->t('No file was uploaded. Unknown error')), $storageStats)));
@@ -113,7 +113,7 @@ if (strpos($dir, '..') === false) {
if (is_uploaded_file($files['tmp_name'][$i]) and \OC\Files\Filesystem::fromTmpFile($files['tmp_name'][$i], $target)) {
// updated max file size after upload
- $storageStats = \OCA\Files\Lib\Helper::buildFileStorageStatistics($dir);
+ $storageStats = \OCA\Files\Helper::buildFileStorageStatistics($dir);
$meta = \OC\Files\Filesystem::getFileInfo($target);
if ($meta === false) {