You are here

function video_admin_access_withtranscoder in Video 7.2

Access callback that returns false when no transcoder is selected.

1 string reference to 'video_admin_access_withtranscoder'
video_ui_menu in modules/video_ui/video_ui.module
Implements hook_menu().

File

modules/video_ui/video_ui.module, line 214
Administrative interface to the Video module. @author : Heshan (heshan@heidisoft.com)

Code

function video_admin_access_withtranscoder($permissions) {
  if (variable_get('video_convertor') === '') {
    return FALSE;
  }
  return user_access($permissions);
}