Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Removing deprecated Validator javascript methods

Use custom Javascript validation instead
  • Loading branch information...
commit 6448cd79bc06b2d9acfda7f9f894ada14cad8e8b 1 parent 5c983a2
Sean Harvey halkyon authored
Showing with 0 additions and 31 deletions.
  1. +0 −31 forms/Validator.php
31 forms/Validator.php
View
@@ -23,37 +23,6 @@
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
*/
public function setForm($form) {
Please sign in to comment.
Something went wrong with that request. Please try again.