Browse Source

Merge pull request #170 from willtp87/ISLANDORA-745

ISLANDORA_745 renamed postprocess solution pack hook
pull/169/merge
Jonathan Green 12 years ago
parent
commit
eba9b8e396
  1. 6
      fedora_repository.module

6
fedora_repository.module

@ -2359,7 +2359,7 @@ function fedora_repository_solutionpack_send_postprocess($success, $results, $op
// Hook to let solution pack objects be modified. // Hook to let solution pack objects be modified.
// Not using module_invoke so solution packs can be expanded by other modules. // Not using module_invoke so solution packs can be expanded by other modules.
if ($success) { if ($success) {
module_invoke_all('postprocess_solution_pack', $results['module_name']); module_invoke_all('fedora_repository_postprocess_solution_pack', $results['module_name']);
} }
} }
@ -2372,7 +2372,9 @@ function fedora_repository_solutionpack_send_postprocess($success, $results, $op
* @param Fedora_Item $item * @param Fedora_Item $item
* @param string $dsid * @param string $dsid
* @param string $datastream_file * @param string $datastream_file
* @return int, or NULL if no version attribute was found. *
* @return mixed
* int, or NULL if no version attribute was found.
*/ */
function fedora_repository_get_islandora_datastream_version($item = NULL, $dsid = NULL, $datastream_file = NULL) { function fedora_repository_get_islandora_datastream_version($item = NULL, $dsid = NULL, $datastream_file = NULL) {
$return = NULL; $return = NULL;

Loading…
Cancel
Save