Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
drupal
Commits
818d636e
Commit
818d636e
authored
Jun 04, 2004
by
Kjartan Mannes
Browse files
- Commiting patch
#7577
: comment.module clean up.
parent
7cd54567
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
modules/blogapi.module
View file @
818d636e
...
...
@@ -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
);
...
...
modules/blogapi/blogapi.module
View file @
818d636e
...
...
@@ -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
);
...
...
modules/comment.module
View file @
818d636e
This diff is collapsed.
Click to expand it.
modules/comment/comment.module
View file @
818d636e
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment