Return-Path: X-Original-To: apmail-airavata-commits-archive@www.apache.org Delivered-To: apmail-airavata-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D2D1718DD0 for ; Thu, 16 Jul 2015 13:40:07 +0000 (UTC) Received: (qmail 86721 invoked by uid 500); 16 Jul 2015 13:40:07 -0000 Delivered-To: apmail-airavata-commits-archive@airavata.apache.org Received: (qmail 86632 invoked by uid 500); 16 Jul 2015 13:40:07 -0000 Mailing-List: contact commits-help@airavata.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@airavata.apache.org Delivered-To: mailing list commits@airavata.apache.org Received: (qmail 86614 invoked by uid 99); 16 Jul 2015 13:40:07 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 16 Jul 2015 13:40:07 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 331CAE3AA2; Thu, 16 Jul 2015 13:40:07 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: scnakandala@apache.org To: commits@airavata.apache.org Date: Thu, 16 Jul 2015 13:40:08 -0000 Message-Id: <40d78821dc9447cab6bab77a9ca128cc@git.apache.org> In-Reply-To: <6d0a542736084507b9bea198ae67e3d5@git.apache.org> References: <6d0a542736084507b9bea198ae67e3d5@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [2/8] airavata-php-gateway git commit: placeholder for account creation email placeholder for account creation 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/84354dd0 Tree: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/tree/84354dd0 Diff: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/diff/84354dd0 Branch: refs/heads/0.15-release-branch Commit: 84354dd029329b8820cc23e03e7d7d3eb3e47766 Parents: c97b28f Author: Supun Nakandala Authored: Thu Jul 16 18:34:04 2015 +0530 Committer: Supun Nakandala Committed: Thu Jul 16 18:34:04 2015 +0530 ---------------------------------------------------------------------- app/libraries/ProjectUtilities.php | 9 +-------- app/views/account/create.blade.php | 2 +- 2 files changed, 2 insertions(+), 9 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/84354dd0/app/libraries/ProjectUtilities.php ---------------------------------------------------------------------- diff --git a/app/libraries/ProjectUtilities.php b/app/libraries/ProjectUtilities.php index 280b116..76d99ae 100644 --- a/app/libraries/ProjectUtilities.php +++ b/app/libraries/ProjectUtilities.php @@ -142,14 +142,7 @@ class ProjectUtilities try { $projectId = Airavata::createProject(Config::get('pga_config.airavata')['gateway-id'], $project); - - if ($projectId) { - CommonUtilities::print_success_message("

Project {$_POST['project-name']} created!

" . - '

You will be redirected to the summary page shortly, or you can - go directly to the project summary page.

'); - } else { - CommonUtilities::print_error_message("Error creating project {$_POST['project-name']}!"); - } + } catch (InvalidRequestException $ire) { CommonUtilities::print_error_message('InvalidRequestException!

' . $ire->getMessage()); } catch (AiravataClientException $ace) { http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/84354dd0/app/views/account/create.blade.php ---------------------------------------------------------------------- diff --git a/app/views/account/create.blade.php b/app/views/account/create.blade.php index 0709d2e..0f88e24 100755 --- a/app/views/account/create.blade.php +++ b/app/views/account/create.blade.php @@ -49,7 +49,7 @@
-