how to override "upload_complete" function

Apfel007 - October 16, 2009 - 13:35
Project:CDN2 Video
Version:6.x-1.x-dev
Component:Code
Category:task
Priority:normal
Assigned:Unassigned
Status:closed
Description

Hi there,
is it possible to override the "upload_complete" function?

Cheers

#1

kylebrowning - October 26, 2009 - 19:34

You can do a hook_menu_alter and change the callback that it has.

http://api.drupal.org/api/function/hook_menu_alter

THen just copy over the cdn2_upload_complete function, and you should be good.

Hope this helps.

#2

kylebrowning - November 6, 2009 - 22:41
Status:active» fixed

Marking fixed

#3

System Message - November 20, 2009 - 22:50
Status:fixed» closed

Automatically closed -- issue fixed for 2 weeks with no activity.

 
 

Drupal is a registered trademark of Dries Buytaert.