Project

General

Profile

Feature proposal #3280 » 3280-pt1.patch

krileon, 10 April 2012 17:51

View differences:

administrator/components/com_comprofiler/comprofiler.class.php
return null;
}
function cbSpamProtect( $userid, $count ) {
global $_CB_database;
global $_CB_database, $ueConfig;
$maxmails = 10; // mails per
$maxmails = ( isset( $ueConfig['maxEmailsPerHr'] ) ? (int) $ueConfig['maxEmailsPerHr'] : 10 ); // mails per
$maxinterval = 24*3600; // hours (expressed in seconds) limit
$time = time();
(1-1/2)