/[drupal]/contributions/modules/provision/platform/enable.provision.inc
ViewVC logotype

Contents of /contributions/modules/provision/platform/enable.provision.inc

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.5 - (show annotations) (download) (as text)
Thu May 7 22:04:30 2009 UTC (6 months, 2 weeks ago) by adrian
Branch: MAIN
CVS Tags: DRUPAL-6--0-3, DRUPAL-6--0-2, DRUPAL-6--0-2-RC1, DRUPAL-6--0-4-ALPHA1, DRUPAL-6--0-2-BETA1, DRUPAL-6--0-4-ALPHA3, DRUPAL-6--0-4-ALPHA2, DRUPAL-6--0-3-RC4, DRUPAL-6--0-3-RC2, DRUPAL-6--0-3-RC3, DRUPAL-6--0-3-RC1, HEAD
Changes since 1.4: +2 -2 lines
File MIME type: text/x-php
#456622 - ensure that drush_invoke operates in a clean namespace and does not mistake drupal hooks as its own. Check the issue for the conversion script.
1 <?php
2
3 /**
4 * Provision enable command
5 *
6 * Enable a site that has been disabled
7 */
8 function drush_provision_drupal_provision_enable_validate() {
9 drush_bootstrap(DRUSH_BOOTSTRAP_DRUPAL_SITE);
10
11 }
12
13 function drush_provision_drupal_post_provision_enable() {
14 drush_set_option('enabled', TRUE, 'site');
15 }
16
17

  ViewVC Help
Powered by ViewVC 1.1.2