Browse Source

Add testing messages

Abdullah Almsaeed 8 năm trước cách đây
mục cha
commit
7765e11a26
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      tripal_core/api/tripal_core.jobs.api.inc

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

@@ -289,7 +289,7 @@ function tripal_execute_job($job_id, $redirect = TRUE) {
   if ($job->end_time == 0) {
     exec("drush trp-run-jobs --username=".$user->name." --root=".DRUPAL_ROOT."", $output, $return);
     drupal_set_message(t(implode(" ", $output)));
-    drupal_set_message($return);
+    drupal_set_message($job_id);
   }
   else {
     drupal_set_message(t("Job %job_id cannot be executed. It is in progress or has finished.", array('%job_id' => $job_id)));