[Fusionforge-commits] FusionForge branch master updated. bdd7b5243dbb237af3f083b3f97dad1410c550f8

Alain Peyrat aljeux at fusionforge.org
Wed May 22 16:20:19 CEST 2013


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "FusionForge".

The branch, master has been updated
       via  bdd7b5243dbb237af3f083b3f97dad1410c550f8 (commit)
      from  f234a74a269061a99d52e298650e0579cff4e9b3 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit bdd7b5243dbb237af3f083b3f97dad1410c550f8
Author: Alain Peyrat <alain.peyrat at alcatel-lucent.com>
Date:   Wed May 22 16:20:12 2013 +0200

    Use exit_no_group()

diff --git a/src/common/mail/MailingList.class.php b/src/common/mail/MailingList.class.php
index 0787037..8433968 100644
--- a/src/common/mail/MailingList.class.php
+++ b/src/common/mail/MailingList.class.php
@@ -59,8 +59,7 @@ class MailingList extends Error {
 	function __construct(&$Group, $groupListId = false, $dataArray = false) {
 		$this->Error();
 		if (!$Group || !is_object($Group)) {
-			$this->setError(sprintf(_('%1$s:: No Valid Group Object'), 'MailingList'));
-			return false;
+			exit_no_group();
 		}
 		if ($Group->isError()) {
 			$this->setError('MailingList:: '.$Group->getErrorMessage());
diff --git a/src/common/mail/MailingListFactory.class.php b/src/common/mail/MailingListFactory.class.php
index 7f7e5fe..e093e12 100644
--- a/src/common/mail/MailingListFactory.class.php
+++ b/src/common/mail/MailingListFactory.class.php
@@ -52,8 +52,7 @@ class MailingListFactory extends Error {
 		$this->Error();
 
 		if (!$Group || !is_object($Group)) {
-			$this->setError(sprintf(_('%1$s:: No Valid Group Object'), 'MailingListFactory'));
-			return false;
+			exit_no_group();
 		}
 		if ($Group->isError()) {
 			$this->setError('MailingListFactory:: '.$Group->getErrorMessage());

-----------------------------------------------------------------------

Summary of changes:
 src/common/mail/MailingList.class.php        |    3 +--
 src/common/mail/MailingListFactory.class.php |    3 +--
 2 files changed, 2 insertions(+), 4 deletions(-)


hooks/post-receive
-- 
FusionForge



More information about the Fusionforge-commits mailing list