aboutsummaryrefslogtreecommitdiff
path: root/plugins/video_ffmpeg_helper/video_ffmpeg_helper.module
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/video_ffmpeg_helper/video_ffmpeg_helper.module')
-rw-r--r--plugins/video_ffmpeg_helper/video_ffmpeg_helper.module26
1 files changed, 2 insertions, 24 deletions
diff --git a/plugins/video_ffmpeg_helper/video_ffmpeg_helper.module b/plugins/video_ffmpeg_helper/video_ffmpeg_helper.module
index b22a0f4..2d0ee1f 100644
--- a/plugins/video_ffmpeg_helper/video_ffmpeg_helper.module
+++ b/plugins/video_ffmpeg_helper/video_ffmpeg_helper.module
@@ -52,28 +52,6 @@ function video_ffmpeg_helper_help($path, $arg) {
*/
function video_ffmpeg_helper_menu() {
$items = array();
-/* TODO
- Non menu code that was placed in hook_menu under the '!$may_cache' block
- so that it could be run during initialization, should now be moved to hook_init.
- Previously we called hook_init twice, once early in the bootstrap process, second
- just after the bootstrap has finished. The first instance is now called boot
- instead of init.
-
- In Drupal 6, there are now two hooks that can be used by modules to execute code
- at the beginning of a page request. hook_boot() replaces hook_boot() in Drupal 5
- and runs on each page request, even for cached pages. hook_boot() now only runs
- for non-cached pages and thus can be used for code that was previously placed in
- hook_menu() with $may_cache = FALSE:
-
- Dynamic menu items under a '!$may_cache' block can often be simplified
- to remove references to arg(n) and use of '%<function-name>' to check
- conditions. See http://drupal.org/node/103114.
-
- The title and description arguments should not have strings wrapped in t(),
- because translation of these happen in a later stage in the menu system.
-*/
- $may_cache=true;
- if ($may_cache) {
$items['admin/settings/video/ffmpeg_helper'] = array(
'title' => 'Video ffmpeg Helper',
'description' => 'Administer video_ffmpeg_helper module settings',
@@ -82,7 +60,7 @@ function video_ffmpeg_helper_menu() {
'access arguments' => array('administer site configuration'),
'type' => MENU_NORMAL_ITEM,
);
- }
+
return $items;
}
@@ -282,7 +260,7 @@ function video_ffmpeg_helper_nodeapi(&$node, $op, $teaser) {
}
break;
- case 'submit':
+ case 'presve':
break;
case 'update':