owncloud/core — pull request #340 by butonic (2012-11-09 13:38:07+00:00)
Title: fix quota off by one error

It seems it is currently possible to remove the quota: fill up the space to last byte and OC_FileProxy_Quota->getFreeSpace(...) will return 0, which is interpreted as quota='none'

This pull request uses -1 to represent no quota and thus fix the issue.