Permalink
Browse files

Whitespace fixes

  • Loading branch information...
1 parent f9b9e2f commit 63f044a0739e34b007df715af14b5e994681719f @dregad dregad committed Jul 5, 2012
Showing with 21 additions and 22 deletions.
  1. +21 −22 core/email_api.php
View
@@ -57,7 +57,6 @@
$g_phpMailer = null;
/**
- *
* Use a simple perl regex for valid email addresses. This is not a complete regex,
* as it does not cover quoted addresses or domain literals, but it is simple and
* covers the vast majority of all email addresses without being overly complex.
@@ -417,7 +416,7 @@ function email_collect_recipients( $p_bug_id, $p_notify_type, $p_extra_user_ids_
* @param int $p_user_id
* @param string $p_password
* @param string $p_confirm_hash
- * @param string $p_admin_name
+ * @param string $p_admin_name
* @return null
*/
function email_signup( $p_user_id, $p_password, $p_confirm_hash, $p_admin_name = '' ) {
@@ -532,7 +531,7 @@ function email_notify_new_account( $p_username, $p_email ) {
* send a generic email
* $p_notify_type: use check who she get notified of such event.
* $p_message_id: message id to be translated and included at the top of the email message.
- * Return false if it were problems sending email * @param string
+ * Return false if it were problems sending email * @param string
* @param int $p_bug_id
* @param string $p_notify_type
* @param int $p_message_id
@@ -653,9 +652,9 @@ function email_relationship_child_closed( $p_bug_id ) {
/**
* send notices to all the handlers of the parent bugs still open when a child bug is resolved/closed
- *
+ *
* @param int $p_bug_id
- * @param int $p_message_id
+ * @param int $p_message_id
* @return null
*/
function email_relationship_child_resolved_closed( $p_bug_id, $p_message_id ) {
@@ -684,7 +683,7 @@ function email_relationship_child_resolved_closed( $p_bug_id, $p_message_id ) {
/**
* send notices when a bug is sponsored
- * @param int $p_bug_id
+ * @param int $p_bug_id
* @return null
*/
function email_sponsorship_added( $p_bug_id ) {
@@ -693,7 +692,7 @@ function email_sponsorship_added( $p_bug_id ) {
/**
* send notices when a sponsorship is modified
- * @param int $p_bug_id
+ * @param int $p_bug_id
* @return null
*/
function email_sponsorship_updated( $p_bug_id ) {
@@ -702,7 +701,7 @@ function email_sponsorship_updated( $p_bug_id ) {
/**
* send notices when a sponsorship is deleted
- * @param int $p_bug_id
+ * @param int $p_bug_id
* @return null
*/
function email_sponsorship_deleted( $p_bug_id ) {
@@ -711,7 +710,7 @@ function email_sponsorship_deleted( $p_bug_id ) {
/**
* send notices when a new bug is added
- * @param int $p_bug_id
+ * @param int $p_bug_id
* @return null
*/
function email_new_bug( $p_bug_id ) {
@@ -720,7 +719,7 @@ function email_new_bug( $p_bug_id ) {
/**
* send notices when a new bugnote
- * @param int $p_bug_id
+ * @param int $p_bug_id
* @return null
*/
function email_bugnote_add( $p_bug_id ) {
@@ -729,7 +728,7 @@ function email_bugnote_add( $p_bug_id ) {
/**
* send notices when a bug is RESOLVED
- * @param int $p_bug_id
+ * @param int $p_bug_id
* @return null
*/
function email_resolved( $p_bug_id ) {
@@ -738,7 +737,7 @@ function email_resolved( $p_bug_id ) {
/**
* send notices when a bug is CLOSED
- * @param int $p_bug_id
+ * @param int $p_bug_id
* @return null
*/
function email_close( $p_bug_id ) {
@@ -747,7 +746,7 @@ function email_close( $p_bug_id ) {
/**
* send notices when a bug is REOPENED
- * @param int $p_bug_id
+ * @param int $p_bug_id
* @return null
*/
function email_reopen( $p_bug_id ) {
@@ -756,7 +755,7 @@ function email_reopen( $p_bug_id ) {
/**
* send notices when a bug is ASSIGNED
- * @param int $p_bug_id
+ * @param int $p_bug_id
* @return null
*/
function email_assign( $p_bug_id ) {
@@ -774,7 +773,7 @@ function email_bug_deleted( $p_bug_id ) {
/**
* Store email in queue for sending
- *
+ *
* @param string $p_recipient
* @param string $p_subject
* @param string $p_message
@@ -860,7 +859,7 @@ function email_send_all($p_delete_on_failure = false) {
/**
* This function sends an email message based on the supplied email data.
- *
+ *
* @param EmailData $p_email_data
* @return bool
*/
@@ -1016,8 +1015,8 @@ function email_send( $p_email_data ) {
/**
* closes opened kept alive SMTP connection (if it was opened)
- *
- * @param string
+ *
+ * @param string
* @return null
*/
function email_smtp_close() {
@@ -1035,7 +1034,7 @@ function email_smtp_close() {
/**
* formats the subject correctly
* we include the project name, bug id, and summary.
- *
+ *
* @param int $p_bug_id
* @return null
*/
@@ -1054,7 +1053,7 @@ function email_build_subject( $p_bug_id ) {
/**
* clean up LF to CRLF
- *
+ *
* @param string $p_string
* @return null
*/
@@ -1197,7 +1196,7 @@ function email_bug_info_to_one_user( $p_visible_bug_data, $p_message_id, $p_proj
/**
* Build the bug info part of the message
- * @param array $p_visible_bug_data
+ * @param array $p_visible_bug_data
* @return string
*/
function email_format_bug_message( $p_visible_bug_data ) {
@@ -1360,7 +1359,7 @@ function email_format_attribute( $p_visible_bug_data, $attribute_id ) {
* return array with bug data. See usage in email_format_bug_message(...)
* @param int $p_user_id
* @param int $p_bug_id
- * @param string $p_message_id
+ * @param string $p_message_id
* @return array
*/
function email_build_visible_bug_data( $p_user_id, $p_bug_id, $p_message_id ) {

0 comments on commit 63f044a

Please sign in to comment.