Browse Source

Merge branch '7.x' into 7.x-new-datastream-alter

pull/369/head
Adam Vessey 12 years ago
parent
commit
abb76448e5
  1. 2
      includes/tuque_wrapper.inc
  2. 6
      tests/scripts/travis_setup.sh

2
includes/tuque_wrapper.inc

@ -282,7 +282,6 @@ class IslandoraFedoraApiM extends FedoraApiM {
switch ($action) { switch ($action) {
case 'block': case 'block':
throw new Exception('Purge Datastream was blocked.'); throw new Exception('Purge Datastream was blocked.');
break;
case 'delete': case 'delete':
$object[$dsid]->state = 'D'; $object[$dsid]->state = 'D';
@ -326,7 +325,6 @@ class IslandoraFedoraApiM extends FedoraApiM {
switch ($action) { switch ($action) {
case 'block': case 'block':
throw new Exception('Purge object was blocked.'); throw new Exception('Purge object was blocked.');
break;
case 'delete': case 'delete':
$object->state = 'D'; $object->state = 'D';

6
tests/scripts/travis_setup.sh

@ -1,4 +1,4 @@
#!/bin/bash #!/bin/bash
mysql -u root -e 'create database drupal;' mysql -u root -e 'create database drupal;'
mysql -u root -e "create database fedora;" mysql -u root -e "create database fedora;"
@ -11,8 +11,8 @@ cd islandora_tomcat
export CATALINA_HOME='.' export CATALINA_HOME='.'
./bin/startup.sh ./bin/startup.sh
cd $HOME cd $HOME
pear upgrade force Console_Getopt pear upgrade --force Console_Getopt
pear upgrade force pear pear upgrade --force pear
pear upgrade-all pear upgrade-all
pear channel-discover pear.drush.org pear channel-discover pear.drush.org
pear channel-discover pear.drush.org pear channel-discover pear.drush.org

Loading…
Cancel
Save