diff options
author | Roeland Jago Douma <roeland@famdouma.nl> | 2018-04-26 20:04:19 +0200 |
---|---|---|
committer | Mikael Hammarin <mhammarin@ecit.com> | 2018-10-26 08:36:21 +0200 |
commit | d8a581e4260cffe748c2da19959d80949ab57a83 (patch) | |
tree | 5daa7e32273b0f8679af57c965582d6f0880da7f /apps/twofactor_backupcodes | |
parent | ae061c69f1bf1e4196a13ed9de88c6c438bce01c (diff) | |
download | nextcloud-server-d8a581e4260cffe748c2da19959d80949ab57a83.tar.gz nextcloud-server-d8a581e4260cffe748c2da19959d80949ab57a83.zip |
Actually return the root folder when traversing up the tree
If you now keep calling $node->getParent() you will at some point get
the RootFolder back. This is a nice termination check and will prevent
endless loops if an exit condition is slightly off.
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'apps/twofactor_backupcodes')
0 files changed, 0 insertions, 0 deletions