/[drupal]/contributions/modules/flashvideo/plugins/flashvideo_cck/flashvideo_cck.module
ViewVC logotype

Diff of /contributions/modules/flashvideo/plugins/flashvideo_cck/flashvideo_cck.module

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.4.2.8, Thu Jun 18 02:47:35 2009 UTC revision 1.4.2.9, Wed Oct 21 00:48:17 2009 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id: flashvideo_cck.module,v 1.4.2.7 2009/03/07 19:38:55 attheshow Exp $  // $Id: flashvideo_cck.module,v 1.4.2.8 2009/06/18 02:47:35 attheshow Exp $
3    
4  define('FLASHVIDEO_PARAM_PREFIX', "field_flashvideo_");  define('FLASHVIDEO_PARAM_PREFIX', "field_flashvideo_");
5    
# Line 150  function flashvideo_cck_flashvideo_submi Line 150  function flashvideo_cck_flashvideo_submi
150          db_query("DELETE FROM {ffmpeg_data} WHERE (fid = %d)", $file->fid);          db_query("DELETE FROM {ffmpeg_data} WHERE (fid = %d)", $file->fid);
151        }        }
152        // Allow other modules do do some delete operations.        // Allow other modules do do some delete operations.
153        module_invoke_all('flashvideo_delete_file', $file, $node_type);        module_invoke_all('flashvideo_delete_file', $file, $node->type);
154    
155        // Update the flags for the original video.        // Update the flags for the original video.
156        db_query("UPDATE {flashvideo} SET flags=%d WHERE nid=%d AND oid=fid", $flags, $node->nid);        db_query("UPDATE {flashvideo} SET flags=%d WHERE nid=%d AND oid=fid", $flags, $node->nid);

Legend:
Removed from v.1.4.2.8  
changed lines
  Added in v.1.4.2.9

  ViewVC Help
Powered by ViewVC 1.1.2