summaryrefslogtreecommitdiff
path: root/modules/file
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2009-10-15 14:07:30 +0000
committerDries Buytaert <dries@buytaert.net>2009-10-15 14:07:30 +0000
commitf42bca3bd4a7b97e103ddba3fdb4e403f7215b2a (patch)
tree771d33dbec4ead4d7a3a20022dbbdd669bd32691 /modules/file
parentdbac31e066a95983c6a20d9cf9c69f048bb12ead (diff)
downloadbrdo-f42bca3bd4a7b97e103ddba3fdb4e403f7215b2a.tar.gz
brdo-f42bca3bd4a7b97e103ddba3fdb4e403f7215b2a.tar.bz2
- Patch #599804 by effulgentsia, catch: unify page, AJAX 'path', and AJAX 'callback' callbacks. Oh my, this is the beginning of something big.
Diffstat (limited to 'modules/file')
-rw-r--r--modules/file/file.module2
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/file/file.module b/modules/file/file.module
index 9928b1887..fa8330af4 100644
--- a/modules/file/file.module
+++ b/modules/file/file.module
@@ -17,11 +17,13 @@ function file_menu() {
$items['file/ajax'] = array(
'page callback' => 'file_ajax_upload',
+ 'delivery callback' => 'ajax_deliver',
'access arguments' => array('access content'),
'type' => MENU_CALLBACK,
);
$items['file/progress'] = array(
'page callback' => 'file_ajax_progress',
+ 'delivery callback' => 'ajax_deliver',
'access arguments' => array('access content'),
'type' => MENU_CALLBACK,
);