Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
feeds
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
drupal.org
feeds
Commits
49e145ba
Commit
49e145ba
authored
14 years ago
by
Alex Barth
Browse files
Options
Downloads
Patches
Plain Diff
#863494 ekes, alex_b: Delete temporary enclosures file.
parent
c1c8d0f5
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
CHANGELOG.txt
+1
-0
1 addition, 0 deletions
CHANGELOG.txt
plugins/FeedsParser.inc
+9
-0
9 additions, 0 deletions
plugins/FeedsParser.inc
with
10 additions
and
0 deletions
CHANGELOG.txt
+
1
−
0
View file @
49e145ba
...
...
@@ -3,6 +3,7 @@
Feeds 6.x 1.0 XXXXXXXXXXXXXXXXXX
--------------------------------
- #863494 ekes, alex_b: Delete temporary enclosures file.
- #849986 lyricnz, alex_b: Cleaner batch support.
- #866492 lyricnz: Clean up tests.
- #862444 pounard: Do not name files after their enclosure class.
...
...
This diff is collapsed.
Click to expand it.
plugins/FeedsParser.inc
+
9
−
0
View file @
49e145ba
...
...
@@ -132,6 +132,15 @@ class FeedsEnclosure extends FeedsElement {
$this
->
mime_type
=
$mime_type
;
}
/**
* Destructor, clean up any temporary files.
*/
public
function
__destruct
()
{
if
(
!
empty
(
$this
->
file
))
{
file_delete
(
$this
->
file
);
}
}
/**
* @return
* MIME type of return value of getValue().
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment