From 6448cd79bc06b2d9acfda7f9f894ada14cad8e8b Mon Sep 17 00:00:00 2001 From: Sean Harvey Date: Thu, 15 Nov 2012 11:29:40 +1300 Subject: [PATCH] Removing deprecated Validator javascript methods Use custom Javascript validation instead --- forms/Validator.php | 31 ------------------------------- 1 file changed, 31 deletions(-) diff --git a/forms/Validator.php b/forms/Validator.php index 8a6fd9afe..f23df34bb 100644 --- a/forms/Validator.php +++ b/forms/Validator.php @@ -22,37 +22,6 @@ abstract class Validator extends Object { */ protected $errors; - /** - * @deprecated 3.0 Use custom javascript validation instead - */ - public static function set_javascript_validation_handler($handler) { - Deprecation::notice('3.0', 'Use custom javascript validation instead.'); - } - - /** - * @deprecated 3.0 Use custom javascript validation instead - */ - public static function get_javascript_validator_handler() { - Deprecation::notice('3.0', 'Use custom javascript validation instead.'); - } - - /** - * @deprecated 3.0 Use custom javascript validation instead - */ - public function setJavascriptValidationHandler($handler) { - Deprecation::notice('3.0', 'Use custom javascript validation instead.'); - } - - /** - * Gets the current javascript validation handler for this form. - * If not set, falls back to the global static {@link self::$javascript_validation_handler}. - * - * @return string - */ - public function getJavascriptValidationHandler() { - Deprecation::notice('3.0', 'Use custom javascript validation instead.'); - } - /** * @param Form $form */