airavata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From scnakand...@apache.org
Subject airavata-php-gateway git commit: fixing bug
Date Wed, 06 Jul 2016 19:07:40 GMT
Repository: airavata-php-gateway
Updated Branches:
  refs/heads/develop 1dbadf9b6 -> 9e44551c7


fixing bug


Project: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/repo
Commit: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/commit/9e44551c
Tree: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/tree/9e44551c
Diff: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/diff/9e44551c

Branch: refs/heads/develop
Commit: 9e44551c7cd11aa6d176b6d5b11be26a403f3a82
Parents: 1dbadf9
Author: scnakandala <supun.nakandala@gmail.com>
Authored: Wed Jul 6 15:07:37 2016 -0400
Committer: scnakandala <supun.nakandala@gmail.com>
Committed: Wed Jul 6 15:07:37 2016 -0400

----------------------------------------------------------------------
 app/libraries/ExperimentUtilities.php | 9 +--------
 1 file changed, 1 insertion(+), 8 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/9e44551c/app/libraries/ExperimentUtilities.php
----------------------------------------------------------------------
diff --git a/app/libraries/ExperimentUtilities.php b/app/libraries/ExperimentUtilities.php
index 3c708d8..11c1dd3 100644
--- a/app/libraries/ExperimentUtilities.php
+++ b/app/libraries/ExperimentUtilities.php
@@ -328,14 +328,7 @@ class ExperimentUtilities
         $experimentAssemblySuccessful = true;
         $newExperimentInputs = array();
 
-        if (sizeof($_FILES) > 0) {
-            if (ExperimentUtilities::file_upload_successful()) {
-                // construct unique path
-                ExperimentUtilities::create_experiment_folder_path($projectId, $experimentName);
-            } else {
-                $experimentAssemblySuccessful = false;
-            }
-        }
+        ExperimentUtilities::create_experiment_folder_path($projectId, $experimentName);
 
         //sending application inputs in the order defined by the admins.
         $order = array();


Mime
View raw message