Feature proposal #3280 » 3280-pt1.patch
| 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();
|
||