Skip to content

Commit

Permalink
updated validators
Browse files Browse the repository at this point in the history
  • Loading branch information
druid628 committed Feb 2, 2012
1 parent f788270 commit 2c3805e
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions lib/validator/bsdImportRowValidator.class.php
Expand Up @@ -17,6 +17,11 @@ public function is_array_multi($array)
return (bool) (count($array) != count($array, COUNT_RECURSIVE));
}

public function clean($value)
{
$this->doClean($value);
}

protected function doClean($value)
{
$RowToBeValidated = $value;
Expand Down
5 changes: 5 additions & 0 deletions lib/validator/bsdImportValidator.class.php
Expand Up @@ -19,6 +19,11 @@ public function is_array_multi($array)
return (bool) (count($array) != count($array, COUNT_RECURSIVE));
}

public function clean($value)
{
$this->doClean($value);
}

protected function doClean($value)
{
$clean = $value;
Expand Down

0 comments on commit 2c3805e

Please sign in to comment.