From f5f35a18125846d6e6ddcf4951e1838bf23a883d Mon Sep 17 00:00:00 2001 From: Mohamed Mujahid Date: Wed, 7 Jul 2010 06:36:24 +0000 Subject: merging changes from DRUPAL-6--4 --- README.txt | 11 +++++------ video.info | 6 +++++- video.install | 3 ++- video.module | 10 +++++++--- 4 files changed, 19 insertions(+), 11 deletions(-) diff --git a/README.txt b/README.txt index ac08195..e495dd4 100644 --- a/README.txt +++ b/README.txt @@ -1,11 +1,5 @@ // $Id$ ------------ -//TODO - - -This module add the possibility to create -video nodes which are containers to embed -videos into drupal pages. to embed videos into drupal pages, using CCK and filefield support. This module add the possibility to create video nodes which are containers @@ -26,5 +20,10 @@ Maintainers ----------- Heshan Wanigasooriya :heshan at heidisoft dot com, heshanmw at gmail dot com +<<<<<<< README.txt + Dennis : http://drupal.org/user/384543 + Glen Marianko : http://drupal.org/usr/527446 http://linkedin.com/in/glenergetic twitter: @glenergetic +======= Dennis : http://drupal.org/user/384543 Glen Marianko : http://drupal.org/usr/527446 http://linkedin.com/in/glenergetic twitter: @glenergetic +>>>>>>> 1.8.4.5.4.5.2.3 diff --git a/video.info b/video.info index b4a584b..928b5ac 100644 --- a/video.info +++ b/video.info @@ -6,4 +6,8 @@ package = "Video" dependencies[] = content dependencies[] = filefield core = 6.x -version = 6.x-4.x-dev \ No newline at end of file +<<<<<<< video.info +version = 6.x-4.x-dev +======= +version = 6.x-4.x-dev +>>>>>>> 1.3.4.1.4.1.2.2 diff --git a/video.install b/video.install index 0432d47..5d2ea92 100644 --- a/video.install +++ b/video.install @@ -1,5 +1,6 @@ fid; // Recursively delete our folder and files rmdirr($thumb_folder); + // Let other modules to know about the file delete + video_module_invoke('delete', $file); } /** @@ -521,7 +525,7 @@ function video_widget_process($element, &$form_state) { } } // Call hook_video_submit API - video_module_invoke('submit', $element, $form_state); + video_module_invoke('insert', $element, $form_state); // //queue up the file id to update the node id in the video rendering / cdn tables. $form_state['values']['video_id'][] = $item['fid']; @@ -820,4 +824,4 @@ function rmdirr($dir) { } } @rmdir($dir); -} \ No newline at end of file +} -- cgit v1.2.3