airavata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From scnakand...@apache.org
Subject [32/50] [abbrv] airavata-php-gateway git commit: adding missing file changes
Date Thu, 14 Jan 2016 15:43:28 GMT
adding missing file changes


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

Branch: refs/heads/develop
Commit: 48a35a319bbf6bd11435ba6878e79ce08ce2ae26
Parents: 58eb7be
Author: scnakandala <supun.nakandala@gmail.com>
Authored: Thu Jan 7 16:35:50 2016 -0500
Committer: scnakandala <supun.nakandala@gmail.com>
Committed: Thu Jan 7 16:35:50 2016 -0500

----------------------------------------------------------------------
 app/controllers/GatewayprofileController.php | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/48a35a31/app/controllers/GatewayprofileController.php
----------------------------------------------------------------------
diff --git a/app/controllers/GatewayprofileController.php b/app/controllers/GatewayprofileController.php
index 38260cc..0fcbde4 100644
--- a/app/controllers/GatewayprofileController.php
+++ b/app/controllers/GatewayprofileController.php
@@ -54,7 +54,6 @@ class GatewayprofileController extends BaseController {
 
 	public function delete()
 	{
-		//var_dump( Input::all()); exit;
 		$error = false;
 		if( Input::has("del-gpId")) // if Gateway has to be deleted
 		{
@@ -70,6 +69,13 @@ class GatewayprofileController extends BaseController {
 			else
 				$error = true;
 		}
+		else if( Input::has("rem-srId")) // if Compute Resource has to be removed from Gateway
+		{
+			if(CRUtilities::deleteSR( Input::all()) )
+				return Redirect::to("admin/dashboard/gateway")->with("message", "The selected Compute
Resource has been successfully removed");
+			else
+				$error = true;
+		}
 		else
 			$error = true;
 


Mime
View raw message