You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airavata.apache.org by sc...@apache.org on 2016/01/07 22:35:54 UTC
airavata-php-gateway git commit: adding missing file changes
Repository: airavata-php-gateway
Updated Branches:
refs/heads/master 58eb7bee3 -> 48a35a319
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/master
Commit: 48a35a319bbf6bd11435ba6878e79ce08ce2ae26
Parents: 58eb7be
Author: scnakandala <su...@gmail.com>
Authored: Thu Jan 7 16:35:50 2016 -0500
Committer: scnakandala <su...@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;