airavata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ndo...@apache.org
Subject airavata-php-gateway git commit: Changes to open dashboard
Date Fri, 11 Dec 2015 16:24:10 GMT
Repository: airavata-php-gateway
Updated Branches:
  refs/heads/master efda4c3c4 -> 5074d7bf0


Changes to open dashboard


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

Branch: refs/heads/master
Commit: 5074d7bf007f6c454fbdbb210e759328e68c1bb3
Parents: efda4c3
Author: Nipurn Doshi <nipunhere@gmail.com>
Authored: Fri Dec 11 11:23:27 2015 -0500
Committer: Nipurn Doshi <nipunhere@gmail.com>
Committed: Fri Dec 11 11:23:27 2015 -0500

----------------------------------------------------------------------
 app/controllers/AdminController.php | 19 -------------------
 1 file changed, 19 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/5074d7bf/app/controllers/AdminController.php
----------------------------------------------------------------------
diff --git a/app/controllers/AdminController.php b/app/controllers/AdminController.php
index 12ffb2f..f2b12b4 100644
--- a/app/controllers/AdminController.php
+++ b/app/controllers/AdminController.php
@@ -13,26 +13,7 @@ class AdminController extends BaseController {
 		if(  Config::get('pga_config.wsis')['tenant-domain'] == "")
 			Session::put("scigap_admin", true);
 
-		if( Session::has("scigap_admin"))
-		{
-			$crData = CRUtilities::getEditCRData();
-			$gateways = CRUtilities::getAllGatewayProfilesData();
-
-			$gatewayData = array( 
-									"gateways" => $gateways, 
-									"computeResources" => CRUtilities::getAllCRObjects(),
-									"crData" => $crData
-								);
-			
-			$view = "scigap-admin/manage-gateway";
-
-            Session::put("admin-nav", "gateway-prefs");
-			return View::make( $view, $gatewayData);
-		}
-		else{
         	return View::make("account/dashboard");
-
-        }
 	}
 
 	public function addAdminSubmit(){


Mime
View raw message