You are here

function drush_replication_active_validate in Replication 8.2

Same name and namespace in other branches
  1. 8 replication.drush.inc \drush_replication_active_validate()

Implements drush_hook_COMMAND_validate().

File

./replication.drush.inc, line 133
Drush integration for the replication module.

Code

function drush_replication_active_validate() {

  // Array of "Callback arguments" and "command line args".
  $params = func_get_args();
  if (isset($params[0]) || isset($params[1])) {
    replication_command_validate($params);
  }
}