You are here

function backup_migrate_destination::remove_op in Backup and Migrate 7.2

Same name and namespace in other branches
  1. 8.2 includes/destinations.inc \backup_migrate_destination::remove_op()
  2. 6.2 includes/destinations.inc \backup_migrate_destination::remove_op()

Remove the given op from the support list.

File

includes/destinations.inc, line 557

Class

backup_migrate_destination
A base class for creating destinations.

Code

function remove_op($op) {
  $key = array_search($op, $this->supported_ops);
  if ($key !== FALSE) {
    unset($this->supported_ops[$key]);
  }
}