| 1 |
<?php |
| 2 |
class AccuaForm_Validation_Captcha2 extends AccuaForm_Validation_Captcha2b { |
| 3 |
public function __construct($privateKey, $message = "") { |
| 4 |
if (version_compare(PHP_VERSION, '5.3.0', '>=')) { |
| 5 |
$error_type = E_USER_DEPRECATED; |
| 6 |
} else { |
| 7 |
$error_type = E_USER_NOTICE; |
| 8 |
} |
| 9 |
trigger_error("AccuaForm_Validation_Captcha2 is <strong>deprecated</strong> since contact-forms version 1.4.7! Use AccuaForm_Validation_Captcha2b instead.", $error_type); |
| 10 |
$this->privateKey = $privateKey; |
| 11 |
if(!empty($message)) |
| 12 |
$this->message = $message; |
| 13 |
} |
| 14 |
} |
| 15 |
|