diff options
author | Morris Jobke <hey@morrisjobke.de> | 2014-08-19 14:05:08 +0200 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2014-08-19 14:05:08 +0200 |
commit | b3b335480927a67f3019dfb9933b06e96b487179 (patch) | |
tree | 615c024122709fbafd903bdac1aedcc69c938f52 /lib/private/util.php | |
parent | 5d7deefd95c3108ff4deb17d23e78b39dbe80ee3 (diff) | |
download | nextcloud-server-b3b335480927a67f3019dfb9933b06e96b487179.tar.gz nextcloud-server-b3b335480927a67f3019dfb9933b06e96b487179.zip |
move to public namespace
Diffstat (limited to 'lib/private/util.php')
-rwxr-xr-x | lib/private/util.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/private/util.php b/lib/private/util.php index 28cc87bfddd..82c5acee670 100755 --- a/lib/private/util.php +++ b/lib/private/util.php @@ -105,7 +105,7 @@ class OC_Util { if (is_object($storage->getUser())) { $user = $storage->getUser()->getUID(); $quota = OC_Util::getUserQuota($user); - if ($quota !== \OC\Files\Filesystem::SPACE_UNLIMITED) { + if ($quota !== \OCP\Files\FileInfo::SPACE_UNLIMITED) { return new \OC\Files\Storage\Wrapper\Quota(array('storage' => $storage, 'quota' => $quota, 'root' => 'files')); } } @@ -1244,7 +1244,7 @@ class OC_Util { if (strpos($url, 'http://') !== 0 && strpos($url, 'https://') !== 0) { throw new Exception('$url must start with https:// or http://', 1); } - + if (function_exists('curl_init')) { $curl = curl_init(); $max_redirects = 10; |