Skip to content
This repository has been archived by the owner on Dec 14, 2024. It is now read-only.

Commit

Permalink
Update install_plugins.php
Browse files Browse the repository at this point in the history
output log up moodle upgrade
  • Loading branch information
Glutamat42 authored Oct 14, 2024
1 parent ecb6f10 commit c8e55cd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions opt/adler/moodle/adler_setup/install_plugins.php
Original file line number Diff line number Diff line change
Expand Up @@ -115,9 +115,9 @@ function get_plugin_config() {

// upgrade moodle installation
cli_writeln("Upgrading moodle installation...");
$cmd = "php {$CFG->dirroot}/admin/cli/upgrade.php --non-interactive --allow-unstable";
$cmd = "php {$CFG->dirroot}/admin/cli/upgrade.php --non-interactive --allow-unstable 2>&1";
cli_writeln("Executing: $cmd");
exec($cmd, $blub, $result_code);
passthru($cmd, $result_code);
if ($result_code != 0) {
cli_error('command execution failed');
}

0 comments on commit c8e55cd

Please sign in to comment.