update.provision.inc 312 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
<?php

function provision_drupal_provision_update_validate() {
  _provision_drupal_url_required;
  _provision_drupal_valid_installed_site();
}

function provision_drupal_provision_update(&$data, $url) {
  $cmd = sprintf("php %s/drupal_update.php %s", dirname(__FILE__), $url);
  provision_exec($cmd, $data);
}