Browse Source

Changed 'CHILD_SECURITY' to 'POLICY' for canIngestHere function.

pull/105/head
Alexander O'Neill 14 years ago
parent
commit
8ff2a1d1a3
  1. 2
      ObjectHelper.inc
  2. 2
      SecurityClass.inc

2
ObjectHelper.inc

@ -336,7 +336,7 @@ class ObjectHelper {
'asOfDateTime' => "" 'asOfDateTime' => ""
); );
try { try {
$object = $client->__soapCAll('getDatastreamDissemination', array( $object = $client->__soapCall('getDatastreamDissemination', array(
'parameters' => $params 'parameters' => $params
)); ));
} catch (Exception $e) { } catch (Exception $e) {

2
SecurityClass.inc

@ -9,7 +9,7 @@
*/ */
class SecurityClass { class SecurityClass {
public static $SECURITY_CLASS_SECURITY_STREAM = 'CHILD_SECURITY'; public static $SECURITY_CLASS_SECURITY_STREAM = 'POLICY';
function SecurityClass() { function SecurityClass() {
module_load_include('inc', 'SecurityClass', ''); module_load_include('inc', 'SecurityClass', '');
drupal_bootstrap(DRUPAL_BOOTSTRAP_FULL); drupal_bootstrap(DRUPAL_BOOTSTRAP_FULL);

Loading…
Cancel
Save