You are here

function backup_migrate_destination_nodesquirrel::check_limits in Backup and Migrate 6.2

Same name and namespace in other branches
  1. 8.3 includes/destinations.nodesquirrel.inc \backup_migrate_destination_nodesquirrel::check_limits()
  2. 6.3 includes/destinations.nodesquirrel.inc \backup_migrate_destination_nodesquirrel::check_limits()
  3. 7.2 includes/destinations.nodesquirrel.inc \backup_migrate_destination_nodesquirrel::check_limits()

List the files in the remote destination.

2 calls to backup_migrate_destination_nodesquirrel::check_limits()
backup_migrate_destination_nodesquirrel::confirm_destination in includes/destinations.nodesquirrel.inc
Check that a destination is valid.
backup_migrate_destination_nodesquirrel::edit_form_validate in includes/destinations.nodesquirrel.inc
Submit the configuration form. Glue the url together and add the old password back if a new one was not specified.

File

includes/destinations.nodesquirrel.inc, line 280
Functions to handle the NodeSquirrel backup destination.

Class

backup_migrate_destination_nodesquirrel
A destination for sending database backups to the NodeSquirel backup service.

Code

function check_limits() {
  if (empty($this->limits)) {
    $this->limits = $this
      ->_xmlrpc('backups.getLimits', array(
      $this
        ->_get_destination(),
    ));
  }
  return $this->limits;
}