$CONFIG = array (
'instanceid' => ''***',
'passwordsalt' => ''***',
'secret' => ''***',
'trusted_domains' =>
array (
0 => '***.net',
),
'enabledPreviewProviders' =>
array (
0 => 'OC\Preview\Image',
1 => 'OC\Preview\MP3',
2 => 'OC\Preview\TXT',
3 => 'OC\Preview\Movie',
4 => 'OC\Preview\MarkDown',
),
'datadirectory' => '/homepages/'***/data',
'overwrite.cli.url' => ''***',
'dbtype' => 'mysql',
'version' => '9.0.52.0',
'dbname' => ''***',
'dbhost' => ''***',
'dbtableprefix' => 'oc_',
'dbuser' => ''***',
'dbpassword' => ''***_',
'logtimezone' => 'UTC',
'installed' => true,
'theme' => '',
'loglevel' => 2,
'maintenance' => false,
'updater.release.channel' => 'stable',
);
Steps to reproduce
/ocs/v1.php/cloud/users/<user><free>1103360991232</free><used>118102553</used><total>1103479093785</total>/ocs/v1.php/cloud/users/<user><free>1103360991232</free><used>118102553</used><total>1103479093785</total>/ocs/v1.php/cloud/users/<user2><free>1103356682240</free><used>714783</used><total>1103357397023</total>Expected behaviour
We try to use this for nextcloud/android#204 and obviously want to hide the quota display when none is set, which isn't working because of the described API behavior above.
Actual behavior
1TB, 2TB, Unlimited always set ~1TB in the quota tags...
Server configuration
Operating system:
Web server:
Database:
MySQL
PHP version:
7
Nextcloud version: (see Nextcloud admin page)
9.0.53
Updated from an older Nextcloud/ownCloud or fresh install:
upgrade from 9.0.52
Where did you install Nextcloud from:
Nc website download (zip file)
Signing status:
Signing status
0_o
List of activated apps:
App list
The content of config/config.php:
Config report
Are you using external storage, if yes which one: no
Are you using encryption: no
Are you using an external user-backend, if yes which one: no
Client configuration
Browser: FF 48.0
Operating system: Win7 Enterprise