Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
D
drupal
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Custom Issue Tracker
Custom Issue Tracker
Labels
Merge Requests
222
Merge Requests
222
Requirements
Requirements
List
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Analytics
Analytics
Code Review
Insights
Issue
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
project
drupal
Commits
818d636e
Commit
818d636e
authored
Jun 04, 2004
by
Kjartan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- Commiting patch
#7577
: comment.module clean up.
parent
7cd54567
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
894 additions
and
1092 deletions
+894
-1092
modules/blogapi.module
modules/blogapi.module
+2
-2
modules/blogapi/blogapi.module
modules/blogapi/blogapi.module
+2
-2
modules/comment.module
modules/comment.module
+445
-544
modules/comment/comment.module
modules/comment/comment.module
+445
-544
No files found.
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
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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