Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

ci update

  • Loading branch information...
commit 30ee0c9809d758d9e4b5df552bf2107f3339710c 2 parents 641aeff + 48a8675
@it-can authored
Showing with 7 additions and 5 deletions.
  1. +7 −5 system/helpers/email_helper.php
View
12 system/helpers/email_helper.php
@@ -43,7 +43,8 @@
/**
* Validate email address
*
- * @param string
+ * @deprecated 3.0.0 Use PHP's filter_var() instead
+ * @param string $email
* @return bool
*/
function valid_email($email)
@@ -59,12 +60,13 @@ function valid_email($email)
/**
* Send an email
*
- * @param string
- * @param string
- * @param string
+ * @deprecated 3.0.0 Use PHP's mail() instead
+ * @param string $recipient
+ * @param string $subject
+ * @param string $message
* @return bool
*/
- function send_email($recipient, $subject = 'Test email', $message = 'Hello World')
+ function send_email($recipient, $subject, $message)
{
return mail($recipient, $subject, $message);
}
Please sign in to comment.
Something went wrong with that request. Please try again.