|
|
@ -872,3 +872,13 @@ function islandora_post_delete_datastream(FedoraObject $object, $datastream_id) |
|
|
|
module_invoke_all($hook, $object, $datastream_id); |
|
|
|
module_invoke_all($hook, $object, $datastream_id); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
|
|
|
* Implements hook_cron() |
|
|
|
|
|
|
|
* |
|
|
|
|
|
|
|
* Removes expired authentication tokens. |
|
|
|
|
|
|
|
*/ |
|
|
|
|
|
|
|
function islandora_cron() { |
|
|
|
|
|
|
|
module_load_include('inc', 'islandora', 'includes/islandora_authtokens'); |
|
|
|
|
|
|
|
islandora_remove_expired_tokens(); |
|
|
|
|
|
|
|
} |
|
|
|