Commit 4746dc6e519683da9ca36bbafa8b39f9271bede3
1 parent
ea80fcc0
Exists in
master
and in
65 other branches
Allow TimeRetricted datasets in getObsDataTree API
Showing
1 changed file
with
5 additions
and
0 deletions
Show diff stats
php/WebServices/WebServer.php
... | ... | @@ -305,6 +305,11 @@ class WebServer |
305 | 305 | $restricted = $xp->query("//*[@group]"); |
306 | 306 | |
307 | 307 | foreach ($restricted as $node) { |
308 | + $timeRestriction = $node->getAttribute('timeRestriction'); | |
309 | + if (!empty($timeRestriction)) { | |
310 | + continue; | |
311 | + } | |
312 | + | |
308 | 313 | $parentNode = $node->parentNode; |
309 | 314 | $parentNode->removeChild($node); |
310 | 315 | ... | ... |