summaryrefslogtreecommitdiffstats
path: root/system/libraries/Form_validation.php
diff options
context:
space:
mode:
authorAndrey Andreev <narf@devilix.net>2016-03-12 16:21:55 +0100
committerAndrey Andreev <narf@devilix.net>2016-03-12 16:21:55 +0100
commit4f555079a6d85abd11403c72b9dbaa8823dc2e6d (patch)
treedff3ea0218b0d3c180d2bdef6dff51d8123e7944 /system/libraries/Form_validation.php
parentb5a5d76d0733780c846963592ff813f867beaf97 (diff)
[ci skip] Deprecate prep_for_form() in Form_validation
Diffstat (limited to 'system/libraries/Form_validation.php')
-rw-r--r--system/libraries/Form_validation.php7
1 files changed, 4 insertions, 3 deletions
diff --git a/system/libraries/Form_validation.php b/system/libraries/Form_validation.php
index 9fb686892..6be593add 100644
--- a/system/libraries/Form_validation.php
+++ b/system/libraries/Form_validation.php
@@ -1515,10 +1515,11 @@ class CI_Form_validation {
* This function allows HTML to be safely shown in a form.
* Special characters are converted.
*
- * @param string
- * @return string
+ * @deprecated 3.0.6 Not used anywhere within the framework and pretty much useless
+ * @param mixed $data Input data
+ * @return mixed
*/
- public function prep_for_form($data = '')
+ public function prep_for_form($data)
{
if ($this->_safe_form_data === FALSE OR empty($data))
{