diff options
author | zoaked <zoaked@users.noreply.github.com> | 2015-09-26 18:40:31 +0200 |
---|---|---|
committer | zoaked <zoaked@users.noreply.github.com> | 2015-09-26 18:40:31 +0200 |
commit | bbed8d5429917d5f7b188bcf59d9156e330a7749 (patch) | |
tree | 9778a79eb51f533d31b2325e099802f5f00b31ed /system | |
parent | 505e15d01bb4b1b222d9685062d5c294c1ad38c0 (diff) |
Removing config_rules from reset_validation
Signed-off-by: Junior Asparagus<zoaked@hotmail.com>
Diffstat (limited to 'system')
-rw-r--r-- | system/libraries/Form_validation.php | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/system/libraries/Form_validation.php b/system/libraries/Form_validation.php index 31f80e959..a158225ee 100644 --- a/system/libraries/Form_validation.php +++ b/system/libraries/Form_validation.php @@ -1581,19 +1581,14 @@ class CI_Form_validation { * Prevents subsequent validation routines from being affected by the * results of any previous validation routine due to the CI singleton. * - * @param bool * @return CI_Form_validation */ - public function reset_validation($keep_config = FALSE) + public function reset_validation() { $this->_field_data = array(); $this->_error_array = array(); $this->_error_messages = array(); $this->error_string = ''; - if ( ! $keep_config) - { - $this->_config_rules = array(); - } return $this; } |