Browse Source

Logging in as user 1 in islandora_install_solution_pack() for drush installation of islandora modules.

pull/364/head
Daniel Lamb 11 years ago
parent
commit
d59a91f529
  1. 8
      includes/solution_packs.inc

8
includes/solution_packs.inc

@ -256,6 +256,14 @@ function islandora_install_solution_pack($module, $op = 'install') {
return;
}
// Login as user 1 if the installation is coming from the command line (e.g.
// drush).
if (drupal_is_cli()) {
global $user;
$user = user_load(1);
user_login_finalize();
}
$t = get_t();
// Some general replacements.

Loading…
Cancel
Save