Commit ID e813fd4ff93e48f2014adb03ae99e7229f3c3ad5
|Date:||24-March-2012 at 09:45||Lines Added:||9|
|Repository:||git://github.com/jrbasso/MeioUpload.git master||Lines Removed:||4|
|Commit Comment:||Refactor the check for is_uploaded_file in _copyFileFromTemp function into a standalone cakephp validate check.
Reason is because in testsuite, unit tests for models with MeioUpload as behavior will definitely fail the check for is_uploaded_file.
Since this is the case, we need to make it flexible for those running test cases on such models to be able to turn off this validation.