Skip to content

Commit

Permalink
Add website config option to stats recorded
Browse files Browse the repository at this point in the history
  • Loading branch information
samtuke authored and Sam Tuke committed Aug 11, 2019
1 parent d96fa56 commit eeb72c1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions public_html/lists/admin/connect.php
Expand Up @@ -408,6 +408,8 @@ function sendMessageStats($msgid)
}
$data = Sql_Fetch_Array_Query(sprintf('select * from %s where id = %d', $tables['message'], $msgid));
$msg .= 'phpList version '.VERSION."\n";
$msg .= 'phpList url '.getConfig("website")."\n";

$diff = timeDiff($data['sendstart'], $data['sent']);

if ($data['id'] && $data['processed'] > 10 && $diff != 'very little time') {
Expand Down

0 comments on commit eeb72c1

Please sign in to comment.