Explorar o código

Add testing messages

Abdullah Almsaeed %!s(int64=8) %!d(string=hai) anos
pai
achega
9bde2de126
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      tripal_core/api/tripal_core.jobs.api.inc

+ 1 - 1
tripal_core/api/tripal_core.jobs.api.inc

@@ -297,7 +297,7 @@ function tripal_execute_job($job_id, $redirect = TRUE) {
   if ($job->end_time == 0) {
     $cmd = "drush trp-run-jobs --job_id=".escapeshellarg($job_id)." --username=".escapeshellarg($user->name)." --root=".DRUPAL_ROOT."";
     exec($cmd, $output, $return);
-    $response = '';
+    $response = 'Response <br>';
     foreach($output as $line) {
       $response .= $line."<br>";
     }