mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2026-01-05 12:49:17 +00:00
reduce the number of always included libraries
This commit is contained in:
@@ -667,6 +667,8 @@
|
||||
if ($subop == "sendEmail") {
|
||||
$secretkey = $_REQUEST['secretkey'];
|
||||
|
||||
require_once 'lib/phpmailer/class.phpmailer.php';
|
||||
|
||||
$reply = array();
|
||||
|
||||
if (DIGEST_ENABLE && $_SESSION['email_secretkey'] &&
|
||||
|
||||
@@ -285,6 +285,8 @@
|
||||
$status_msg = format_notice(T_sprintf("Changed password of user <b>%s</b>
|
||||
to <b>%s</b>", $login, $tmp_user_pwd));
|
||||
|
||||
require_once 'lib/phpmailer/class.phpmailer.php';
|
||||
|
||||
if ($email) {
|
||||
$status_msg += format_notice(T_sprintf("Notifying <b>%s</b>.", $email));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user