summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Schneider2020-07-21 15:45:27 +0200
committerChristian Schneider2020-07-21 15:45:27 +0200
commite92689015d96a488801c491cabc89e70fd20db2e (patch)
tree7c6becff8a5b511270b89bdd81ef117d0ad4a29e
parent9c61c7fdccead96d1d934afed0aa937031a1cf0e (diff)
downloaditools-e92689015d96a488801c491cabc89e70fd20db2e.tar.gz
itools-e92689015d96a488801c491cabc89e70fd20db2e.tar.bz2
itools-e92689015d96a488801c491cabc89e70fd20db2e.zip
Mark static function it:mail::check_email() as static
-rw-r--r--it_mail.class2
1 files changed, 1 insertions, 1 deletions
diff --git a/it_mail.class b/it_mail.class
index 161d3d1..b235dee 100644
--- a/it_mail.class
+++ b/it_mail.class
@@ -412,7 +412,7 @@ static function send_smtp_cmd($fp, $cmd, &$answer, $timeoutok = false, $failcode
* @return One of IT_MAIL_CHECKEMAIL_INVALID (0), IT_MAIL_CHECKEMAIL_MAILBOXFULL
* or IT_MAIL_CHECKEMAIL_OK (both != 0).
*/
-function check_email($email, $checkmailbox = false)
+static function check_email($email, $checkmailbox = false)
{
$result = IT_MAIL_CHECKEMAIL_INVALID;