airavata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From scnakand...@apache.org
Subject airavata-php-gateway git commit: setting gatewayId in project
Date Fri, 08 Jul 2016 21:40:54 GMT
Repository: airavata-php-gateway
Updated Branches:
  refs/heads/master 5a0f06d26 -> f78db58ef


setting gatewayId in project


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

Branch: refs/heads/master
Commit: f78db58ef4ea06c4320e51c3dfb17a485d2755bd
Parents: 5a0f06d
Author: scnakandala <supun.nakandala@gmail.com>
Authored: Fri Jul 8 17:40:50 2016 -0400
Committer: scnakandala <supun.nakandala@gmail.com>
Committed: Fri Jul 8 17:40:50 2016 -0400

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


http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/f78db58e/app/libraries/ProjectUtilities.php
----------------------------------------------------------------------
diff --git a/app/libraries/ProjectUtilities.php b/app/libraries/ProjectUtilities.php
index 6a8a242..1ac6502 100644
--- a/app/libraries/ProjectUtilities.php
+++ b/app/libraries/ProjectUtilities.php
@@ -131,6 +131,7 @@ class ProjectUtilities
         $project = new Project();
         $project->owner = $username;
         $project->name = "Default Project";
+        $project->gatewayId = Config::get('pga_config.airavata')['gateway-id'];
         $project->description = "This is the default project for user " . $project->owner;
 
 


Mime
View raw message