1 drupal.inc drupal_unlink($uri, $context = NULL)

Deletes a file.

Deprecated

since 1.0.0

See also

backdrop_unlink()

Related topics

File

core/includes/drupal.inc, line 1639
Contains constants and function wrappers for Drupal 7.x compatibility.

Code

function drupal_unlink($uri, $context = NULL) {
  watchdog_deprecated_function('drupal', __FUNCTION__);
  return backdrop_unlink($uri, $context);
}