airavata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sma...@apache.org
Subject [18/40] airavata-php-gateway git commit: adding missing return statement
Date Tue, 14 Jul 2015 16:38:23 GMT
adding missing return statement


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/18574f9f
Tree: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/tree/18574f9f
Diff: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/diff/18574f9f

Branch: refs/heads/0.15-release-branch
Commit: 18574f9f4b4af52741cc8cf9955f791d8592c23b
Parents: 9eb463f
Author: Supun Nakandala <scnakandala@apache.org>
Authored: Thu Jun 18 21:27:18 2015 +0530
Committer: Supun Nakandala <scnakandala@apache.org>
Committed: Thu Jun 18 21:30:18 2015 +0530

----------------------------------------------------------------------
 app/libraries/AppUtilities.php | 2 +-
 app/libraries/CRUtilities.php  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/18574f9f/app/libraries/AppUtilities.php
----------------------------------------------------------------------
diff --git a/app/libraries/AppUtilities.php b/app/libraries/AppUtilities.php
index 6a01509..cc7323f 100644
--- a/app/libraries/AppUtilities.php
+++ b/app/libraries/AppUtilities.php
@@ -252,7 +252,7 @@ class AppUtilities
                     return $applicationInterface;
                 }
             } else {
-                $applicationInterface = Airavata::getApplicationInterface($id);
+                return $applicationInterface = Airavata::getApplicationInterface($id);
             }
 
 

http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/18574f9f/app/libraries/CRUtilities.php
----------------------------------------------------------------------
diff --git a/app/libraries/CRUtilities.php b/app/libraries/CRUtilities.php
index 97723cb..850c2c8 100755
--- a/app/libraries/CRUtilities.php
+++ b/app/libraries/CRUtilities.php
@@ -429,7 +429,7 @@ class CRUtilities
                     return $computeResource;
                 }
             } else {
-                $computeResource = Airavata::getComputeResource($id);
+                return $computeResource = Airavata::getComputeResource($id);
             }
 
         } catch (InvalidRequestException $ire) {


Mime
View raw message