Simplify graph iteration.
This commit is contained in:
parent
830afdd9e6
commit
b187144961
|
@ -2614,9 +2614,7 @@ class JsonLdProcessor {
|
||||||
}
|
}
|
||||||
|
|
||||||
// build @lists
|
// build @lists
|
||||||
$all_graphs = array_values((array)$graphs);
|
foreach($graphs as $graph_name => $graph) {
|
||||||
$all_graphs[] = $default_graph;
|
|
||||||
foreach($all_graphs as $graph) {
|
|
||||||
// find list head
|
// find list head
|
||||||
$list_map = $graph->listMap;
|
$list_map = $graph->listMap;
|
||||||
foreach($list_map as $subject => $entry) {
|
foreach($list_map as $subject => $entry) {
|
||||||
|
|
Loading…
Reference in a new issue