Skip to content

Commit

Permalink
Merge pull request #330 from IAMlKeno/7.x-7104_update_hook
Browse files Browse the repository at this point in the history
Let's use the first value in the array
  • Loading branch information
DonRichards authored Nov 18, 2019
2 parents 12cf7fa + 6db087c commit cf5c326
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion islandora_scholar.install
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ function islandora_scholar_update_7103(&$sandbox) {
*/
function islandora_scholar_update_7104(&$sandbox) {
$module = array('islandora_google_scholar');
if (module_exists($module)) {
if (module_exists($module[0])) {
module_disable($module, FALSE);
}
db_delete('system')
Expand Down

0 comments on commit cf5c326

Please sign in to comment.