Skip to content
Snippets Groups Projects
Commit 5dedf466 authored by David Siegfried's avatar David Siegfried Committed by Jan-Hendrik Willms
Browse files

remove obsolete function-call, closes #1212

Closes #1212

Merge request !720
parent 1f0cc708
No related branches found
No related tags found
1 merge request!720remove obsolete function-call, closes #1212
Pipeline #4635 passed
......@@ -237,11 +237,7 @@ class Resources_RoomController extends AuthenticatedController
foreach ($buildings as $building) {
//Build the complete hierarchy from the root resource to
//the building:
$hierarchy = ResourceManager::getHierarchyNames($building);
array_reverse($hierarchy);
$this->building_hierarchies[$building->id] = '/' . implode('/', $hierarchy);
$this->building_hierarchies[$building->id] = '/' . implode('/', ResourceManager::getHierarchyNames($building));
}
//In add-mode the category must be set before calling this method.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment