Recheck for storage owner if it has been set to false before
Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
parent
049628a3f5
commit
4560bf939b
|
@ -403,7 +403,7 @@ abstract class Common implements Storage, ILockingStorage, IWriteStreamStorage {
|
|||
* @return string|false uid or false
|
||||
*/
|
||||
public function getOwner($path) {
|
||||
if ($this->owner === null) {
|
||||
if ($this->owner === null || $this->owner === false) {
|
||||
$this->owner = \OC_User::getUser();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue