function image_test_save in Drupal 7
Image tookit's save operation.
File
- modules/
simpletest/ tests/ image_test.module, line 101 - Helper module for the image tests.
Code
function image_test_save(stdClass $image, $destination) {
_image_test_log_call('save', array(
$image,
$destination,
));
// Return false so that image_save() doesn't try to chmod the destination
// file that we didn't bother to create.
return FALSE;
}