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 studip/studip!720
parent 1f0cc708
No related branches found
No related tags found
No related merge requests found
...@@ -237,11 +237,7 @@ class Resources_RoomController extends AuthenticatedController ...@@ -237,11 +237,7 @@ class Resources_RoomController extends AuthenticatedController
foreach ($buildings as $building) { foreach ($buildings as $building) {
//Build the complete hierarchy from the root resource to //Build the complete hierarchy from the root resource to
//the building: //the building:
$hierarchy = ResourceManager::getHierarchyNames($building); $this->building_hierarchies[$building->id] = '/' . implode('/', ResourceManager::getHierarchyNames($building));
array_reverse($hierarchy);
$this->building_hierarchies[$building->id] = '/' . implode('/', $hierarchy);
} }
//In add-mode the category must be set before calling this method. //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.
Finish editing this message first!
Please register or to comment