1.20.x drupal.inc drupal_delete_file_if_stale($uri)

Deletes files modified more than a set time ago.

Deprecated

since 1.0.0

See also

backdrop_delete_file_if_stale()

Related topics

File

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

Code

function drupal_delete_file_if_stale($uri) {
  backdrop_delete_file_if_stale($uri);
}