You are here

9 calls to file_delete() in Drupal 7

EntityCrudHookTestCase::testFileHooks in modules/simpletest/tests/entity_crud_hook_test.test
Tests hook invocations for CRUD operations on files.
FileDeleteTest::testInUse in modules/simpletest/tests/file.test
Tries deleting a file that is in use.
FileDeleteTest::testUnused in modules/simpletest/tests/file.test
Tries deleting a normal file (as opposed to a directory, symlink, etc).
FileDownloadTest::checkUrl in modules/simpletest/tests/file.test
Download a file from the URL generated by file_create_url().
file_field_delete_file in modules/file/file.field.inc
Decrements the usage count for a file and attempts to delete it.
file_managed_file_submit in modules/file/file.module
Form submission handler for upload / remove buttons of managed_file elements.
file_move in includes/file.inc
Moves a file to a new location and update the file's database entry.
system_cron in modules/system/system.module
Implements hook_cron().
user_save in modules/user/user.module
Save changes to a user account or add a new user.