Skip to content

Commit

Permalink
Merge branch 'development' of github.com:tdt/core into development
Browse files Browse the repository at this point in the history
  • Loading branch information
coreation committed Feb 1, 2016
2 parents 82b1583 + 8ab61d3 commit 554615c
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions app/Tdt/Core/Repositories/DcatRepository.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,6 @@ public function getDcatDocument(array $definitions, $oldest_definition)
// Create a new EasyRDF graph
$graph = new \EasyRdf_Graph();

\EasyRdf_Namespace::set('adms', 'http://www.w3.org/ns/adms#');

$all_settings = $this->settings->getAll();

$uri = \Request::root();
Expand Down Expand Up @@ -105,7 +103,7 @@ public function getDcatDocument(array $definitions, $oldest_definition)

// Backwards compatibility
if (!empty($definition['contact_point'])) {
$graph->addResource($dataset_uri, 'adms:contactPoint', $definition['contact_point']);
$graph->addResource($dataset_uri, 'dcat:contactPoint', $definition['contact_point']);
}

// Add the publisher resource to the dataset
Expand Down

0 comments on commit 554615c

Please sign in to comment.