Skip to content
Commit d8a581e4 authored by Roeland Jago Douma's avatar Roeland Jago Douma Committed by Mikael Hammarin
Browse files

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: default avatarRoeland Jago Douma <roeland@famdouma.nl>
parent ae061c69
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment