diff options
author | shadlaws <shad@shadlaws.com> | 2013-01-19 00:59:55 +0100 |
---|---|---|
committer | shadlaws <shad@shadlaws.com> | 2013-01-19 00:59:55 +0100 |
commit | ea8219e1d462362985b526260cd71230a5db2afb (patch) | |
tree | f80daeb58e2d37de0678419377bbf1a0f63b9cb3 /modules/gallery/helpers/graphics.php | |
parent | 93afe52ae16b5f01a1bd9966af061ea0d6224370 (diff) |
#1941, 1948 - Fix possible warnings in movie and graphics helpers, add functions to convert between seconds and hh:mm:ss.dd.
Also add unit tests for new movie helper functions.
Diffstat (limited to 'modules/gallery/helpers/graphics.php')
-rw-r--r-- | modules/gallery/helpers/graphics.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gallery/helpers/graphics.php b/modules/gallery/helpers/graphics.php index e7c5da68..c840b920 100644 --- a/modules/gallery/helpers/graphics.php +++ b/modules/gallery/helpers/graphics.php @@ -157,7 +157,7 @@ class graphics_Core { if ($input_item->is_movie()) { // Convert the movie filename to a JPG first, delete anything that might already be there $output_file = legal_file::change_extension($output_file, "jpg"); - unlink($output_file); + @unlink($output_file); // Run movie_extract_frame events, which can either: // - generate an output file, bypassing the ffmpeg-based movie::extract_frame // - add to the options sent to movie::extract_frame (e.g. change frame extract time, |