AIRAVATA-2156 Removing test code
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/188d6ff9 Tree: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/tree/188d6ff9 Diff: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/diff/188d6ff9 Branch: refs/heads/develop Commit: 188d6ff9d78fabbe6fcbb86a501ee2743bd2ef4d Parents: 8a22f77 Author: Marcus Christie <[email protected]> Authored: Fri Oct 28 11:50:24 2016 -0400 Committer: Marcus Christie <[email protected]> Committed: Fri Oct 28 11:50:24 2016 -0400 ---------------------------------------------------------------------- app/controllers/AccountController.php | 6 ------ app/routes.php | 2 -- 2 files changed, 8 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/188d6ff9/app/controllers/AccountController.php ---------------------------------------------------------------------- diff --git a/app/controllers/AccountController.php b/app/controllers/AccountController.php index 74e3690..2b3eced 100644 --- a/app/controllers/AccountController.php +++ b/app/controllers/AccountController.php @@ -541,10 +541,4 @@ class AccountController extends BaseController "userResourceProfile" => $userResourceProfile )); } - - // TODO: Only used for testing, remove - public function deleteUserResourceProfile(){ - URPUtilities::delete_user_resource_profile(); - return Redirect::to("account/dashboard"); - } } http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/188d6ff9/app/routes.php ---------------------------------------------------------------------- diff --git a/app/routes.php b/app/routes.php index bfe5ee9..e0bc801 100755 --- a/app/routes.php +++ b/app/routes.php @@ -54,8 +54,6 @@ Route::post("account/add-credential", "AccountController@addCredential"); Route::post("account/delete-credential", "AccountController@deleteCredential"); Route::get("account/computeResources", "AccountController@getComputeResources"); -// TODO: just for testing -Route::get("account/deleteURP", "AccountController@deleteUserResourceProfile"); /* * The following routes will not work without logging in.
