You are here

function command_buttons_update_7107 in Command Buttons 7

Delete duplicate add_file buttons.

File

./command_buttons.install, line 137

Code

function command_buttons_update_7107() {
  $file_buttons = array_keys(command_buttons_load_multiple(FALSE, array(
    'module' => 'oa_files',
  )));
  command_buttons_delete_multiple($file_buttons);
}