summaryrefslogtreecommitdiff
path: root/modules/blogapi/blogapi.module
diff options
context:
space:
mode:
authorKjartan Mannes <kjartan@2.no-reply.drupal.org>2004-06-04 18:50:29 +0000
committerKjartan Mannes <kjartan@2.no-reply.drupal.org>2004-06-04 18:50:29 +0000
commit818d636e002c8c43c5eccbe4a7be3b31f1ca8d40 (patch)
treed165b94e809ac0836567c0d637a81bbe3520eeda /modules/blogapi/blogapi.module
parent7cd54567bdebc9fe25f778982fb6319b966265ec (diff)
downloadbrdo-818d636e002c8c43c5eccbe4a7be3b31f1ca8d40.tar.gz
brdo-818d636e002c8c43c5eccbe4a7be3b31f1ca8d40.tar.bz2
- Commiting patch #7577: comment.module clean up.
Diffstat (limited to 'modules/blogapi/blogapi.module')
-rw-r--r--modules/blogapi/blogapi.module4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/blogapi/blogapi.module b/modules/blogapi/blogapi.module
index 15c68c01c..008fd17f0 100644
--- a/modules/blogapi/blogapi.module
+++ b/modules/blogapi/blogapi.module
@@ -262,11 +262,11 @@ function blogapi_new_media_object($req_params) {
if (!$data) {
return blogapi_error(t('No file sent'));
}
-
+
if (!$file = file_save_data($data, $name)) {
return blogapi_error(t('Error storing file'));
}
-
+
// Return the successful result.
$result = new xmlrpcval(array('url' => new xmlrpcval(file_create_url($file), 'string')), 'struct');
return new xmlrpcresp($result);