From 1213389b8da475ca78c68641d653168102290486 Mon Sep 17 00:00:00 2001 From: Daniel Lamb Date: Wed, 13 May 2015 14:05:48 -0300 Subject: [PATCH] Coder --- islandora/include/rdf_mapping.inc | 4 ++-- islandora_collection/islandora_collection.module | 16 ++-------------- 2 files changed, 4 insertions(+), 16 deletions(-) diff --git a/islandora/include/rdf_mapping.inc b/islandora/include/rdf_mapping.inc index 6c52a200..b3da5584 100644 --- a/islandora/include/rdf_mapping.inc +++ b/islandora/include/rdf_mapping.inc @@ -13,7 +13,7 @@ * @param string $rdf_type * The RDF type to associate with the bundle. * - * return array + * @return array * The default RDF mapping for Islandora content types. */ function islandora_get_default_rdf_mapping($bundle, $rdf_type) { @@ -25,7 +25,7 @@ function islandora_get_default_rdf_mapping($bundle, $rdf_type) { 'rdftype' => array($rdf_type), 'uuid' => array( 'predicates' => array('dc11:identifier'), - 'datatype' => 'xsd:ID' + 'datatype' => 'xsd:ID', ), ISLANDORA_FEDORA_HAS_PARENT => array( 'predicates' => array('fedora:hasParent'), diff --git a/islandora_collection/islandora_collection.module b/islandora_collection/islandora_collection.module index c4b80468..8106e633 100644 --- a/islandora_collection/islandora_collection.module +++ b/islandora_collection/islandora_collection.module @@ -50,24 +50,12 @@ function islandora_collection_rdf_mapping() { * Implements hook_insert(). */ function islandora_collection_insert($node) { - /* - if (isset($_SERVER['HTTP_IGNORE_HOOKS']) && strcmp(strtolower($_SERVER['HTTP_IGNORE_HOOKS']), "true") == 0) { - dd("IGNORING SAVING THE COLLECTION"); - } - dd("SAVING A COLLECTION"); - dd($node); - */ + } /** * Implements hook_update(). */ function islandora_collection_update($node) { - /* - if (isset($_SERVER['HTTP_IGNORE_HOOKS']) && strcmp(strtolower($_SERVER['HTTP_IGNORE_HOOKS']), "true") == 0) { - dd("IGNORING UPDATING THE COLLECTION"); - } - dd("UPDATING A COLLECTION"); - dd($node); - */ + }