You are here

function hosting_task_restore_form_validate in Hostmaster (Aegir) 6

Implementation of hook_form_alter()

File

modules/hosting/task/hosting_task.module, line 443
Web server node type is defined here.

Code

function hosting_task_restore_form_validate($form, &$form_state) {
  if ($form['parameters']['no_backups']) {
    form_set_error('no_backups', t('There are no valid backups available.'));
  }
}