You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airavata.apache.org by nd...@apache.org on 2016/02/12 17:58:34 UTC

airavata-php-gateway git commit: adding deleting storage resource functionality

Repository: airavata-php-gateway
Updated Branches:
  refs/heads/master daf454ff2 -> 71177ca78


adding deleting storage resource functionality


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

Branch: refs/heads/master
Commit: 71177ca78e81c0fc6f01b870da409a51f7caa6e1
Parents: daf454f
Author: Nipurn Doshi <ni...@gmail.com>
Authored: Fri Feb 12 11:58:00 2016 -0500
Committer: Nipurn Doshi <ni...@gmail.com>
Committed: Fri Feb 12 11:58:00 2016 -0500

----------------------------------------------------------------------
 app/libraries/SRUtilities.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/71177ca7/app/libraries/SRUtilities.php
----------------------------------------------------------------------
diff --git a/app/libraries/SRUtilities.php b/app/libraries/SRUtilities.php
index 8c3e902..6bf70b5 100644
--- a/app/libraries/SRUtilities.php
+++ b/app/libraries/SRUtilities.php
@@ -207,7 +207,7 @@ class SRUtilities
             else
                 return 0;
         elseif (isset($inputs["del-srId"]))
-            if (Airavata::deleteComputeResource(Session::get('authz-token'), $inputs["del-srId"]))
+            if (Airavata::deleteStorageResource(Session::get('authz-token'), $inputs["del-srId"]))
                 return 1;
             else
                 return 0;