Fix home storage quota stable6

Port of https://github.com/owncloud/core/pull/6447 to stable6.
New PR because the affected file moved and I use `$this->getUser()` instead of directly accessing `$this->user`.