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/14 16:43:08 UTC
[12/50] [abbrv] airavata-php-gateway git commit: sending gateway
portal url in user creation notification email
sending gateway portal url in user creation notification email
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/9c406fdf
Tree: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/tree/9c406fdf
Diff: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/diff/9c406fdf
Branch: refs/heads/develop
Commit: 9c406fdff381a7784e9e3cb7a235c12a22dbce5c
Parents: 9db8cee
Author: scnakandala <su...@gmail.com>
Authored: Tue Dec 15 10:57:30 2015 -0500
Committer: scnakandala <su...@gmail.com>
Committed: Tue Dec 15 10:57:30 2015 -0500
----------------------------------------------------------------------
app/controllers/AccountController.php | 3 ++-
app/libraries/ProjectUtilities.php | 2 +-
2 files changed, 3 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/9c406fdf/app/controllers/AccountController.php
----------------------------------------------------------------------
diff --git a/app/controllers/AccountController.php b/app/controllers/AccountController.php
index 952f211..324de20 100755
--- a/app/controllers/AccountController.php
+++ b/app/controllers/AccountController.php
@@ -350,7 +350,8 @@ class AccountController extends BaseController
else
$username = $username . "@" . $wsisConfig['tenant-domain'];
- $str = "Username: " . $username ."<br/>";
+ $str = "Gateway Portal: " . $_SERVER['SERVER_NAME'] . $_SERVER['REQUEST_URI'] ."<br/>";
+ $str = $str . "Username: " . $username ."<br/>";
$str = $str . "Name: " . $userProfile["firstname"] . " " . $userProfile["lastname"] . "<br/>";
$str = $str . "Email: " . $userProfile["email"];
http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/9c406fdf/app/libraries/ProjectUtilities.php
----------------------------------------------------------------------
diff --git a/app/libraries/ProjectUtilities.php b/app/libraries/ProjectUtilities.php
index 5b3b217..7dcfbfe 100644
--- a/app/libraries/ProjectUtilities.php
+++ b/app/libraries/ProjectUtilities.php
@@ -183,7 +183,7 @@ class ProjectUtilities
$updatedProject->owner = $projectDetails["owner"];
$updatedProject->name = $projectDetails["name"];
$updatedProject->description = $projectDetails["description"];
-
+ var_dump($updatedProject);exit;
try {
Airavata::updateProject(Session::get('authz-token'), $projectId, $updatedProject);