You are here

function backup_migrate_location::remove_op in Backup and Migrate 8.3

Same name and namespace in other branches
  1. 6.3 includes/locations.inc \backup_migrate_location::remove_op()
  2. 7.3 includes/locations.inc \backup_migrate_location::remove_op()

Remove the given op from the support list.

File

includes/locations.inc, line 122

Class

backup_migrate_location
A base class for creating locations.

Code

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