Skip to content
Snippets Groups Projects
Commit 1a242021 authored by Demian Katz's avatar Demian Katz
Browse files

Remove unused variable.

parent 2a64a362
No related merge requests found
......@@ -158,7 +158,7 @@ class VudlController extends AbstractVuDL
protected function getRoot($id)
{
$parents = $this->getFedora()->getParentList($id);
foreach ($parents[0] as $i=>$parent) {
foreach (array_keys($parents[0]) as $i) {
if (in_array('ResourceCollection', $this->getFedora()->getClasses($i))) {
return $i;
}
......
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