summaryrefslogtreecommitdiff
path: root/includes/file.inc
diff options
context:
space:
mode:
authorAngie Byron <webchick@24967.no-reply.drupal.org>2009-08-24 00:02:05 +0000
committerAngie Byron <webchick@24967.no-reply.drupal.org>2009-08-24 00:02:05 +0000
commit4ae238ea577ed0140df6fd034b06bfd7b0f0cdb4 (patch)
tree91a4f64953675ba9204158ebca02276aec7555ba /includes/file.inc
parentc98fd96c62e6a60f5e5e2476ebc38766e438c535 (diff)
downloadbrdo-4ae238ea577ed0140df6fd034b06bfd7b0f0cdb4.tar.gz
brdo-4ae238ea577ed0140df6fd034b06bfd7b0f0cdb4.tar.bz2
*** empty log message ***
Diffstat (limited to 'includes/file.inc')
-rw-r--r--includes/file.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/includes/file.inc b/includes/file.inc
index c0e68f52e..8047033be 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));
}