diff options
Diffstat (limited to 'includes/file.inc')
-rw-r--r-- | includes/file.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/includes/file.inc b/includes/file.inc index c0e68f52ebe..8047033bee8 100644 --- a/includes/file.inc +++ b/includes/file.inc @@ -320,7 +320,7 @@ function file_create_url($uri) { return FALSE; } } - + // @todo Implement CDN integration hook stuff in this function. // @see http://drupal.org/node/499156 } @@ -1250,7 +1250,7 @@ function file_validate(&$file, $validators = array()) { // Call the validation functions specified by this function's caller. $errors = array(); foreach ($validators as $function => $args) { - if (drupal_function_exists($function)) { + if (function_exists($function)) { array_unshift($args, $file); $errors = array_merge($errors, call_user_func_array($function, $args)); } |