Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
paperclip
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ikcrm_common
paperclip
Commits
02eb7259
Commit
02eb7259
authored
Apr 17, 2012
by
Prem Sichanugrist
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove unused code
AttachmentAdapter now handles this for us.
parent
40207c74
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
4 deletions
+0
-4
lib/paperclip/attachment.rb
+0
-4
No files found.
lib/paperclip/attachment.rb
View file @
02eb7259
...
@@ -426,10 +426,6 @@ module Paperclip
...
@@ -426,10 +426,6 @@ module Paperclip
# called by storage after the writes are flushed and before @queued_for_writes is cleared
# called by storage after the writes are flushed and before @queued_for_writes is cleared
def
after_flush_writes
def
after_flush_writes
@queued_for_write
.
each
do
|
style
,
file
|
# file.close unless file.closed?
# file.unlink if file.respond_to?(:unlink) && file.path.present? && File.exist?(file.path)
end
end
end
def
cleanup_filename
(
filename
)
def
cleanup_filename
(
filename
)
...
...
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