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/08/17 12:40:42 UTC

airavata-php-gateway git commit: Resolves AIRAVATA-2033

Repository: airavata-php-gateway
Updated Branches:
  refs/heads/develop e903df6dd -> f2f22bdf0


Resolves AIRAVATA-2033


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

Branch: refs/heads/develop
Commit: f2f22bdf02affcc1552ca2b588e65d875aa50765
Parents: e903df6
Author: Nipurn Doshi <ni...@gmail.com>
Authored: Wed Aug 17 05:39:57 2016 -0700
Committer: Nipurn Doshi <ni...@gmail.com>
Committed: Wed Aug 17 05:39:57 2016 -0700

----------------------------------------------------------------------
 app/libraries/AdminUtilities.php | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/f2f22bdf/app/libraries/AdminUtilities.php
----------------------------------------------------------------------
diff --git a/app/libraries/AdminUtilities.php b/app/libraries/AdminUtilities.php
index a7d06bf..b7c5117 100644
--- a/app/libraries/AdminUtilities.php
+++ b/app/libraries/AdminUtilities.php
@@ -20,6 +20,7 @@ class AdminUtilities
         $gateway->domain = $input["domain"];
         $gateway->gatewayName = $input["gatewayName"];
         $gateway->emailAddress = $input["admin-email"];
+        $gateway->gatewayApprovalStatus = GatewayApprovalStatus::APPROVED;
         return Airavata::addGateway(Session::get('authz-token'), $gateway);
     }