You are here

function drush_bakery_add_slave in Bakery Single Sign-On System 7.3

Same name and namespace in other branches
  1. 8.2 bakery.drush.inc \drush_bakery_add_slave()
  2. 6.2 bakery.drush.inc \drush_bakery_add_slave()
  3. 7.4 bakery.drush.inc \drush_bakery_add_slave()
  4. 7.2 bakery.drush.inc \drush_bakery_add_slave()

File

./bakery.drush.inc, line 31
Drush integration for Bakery.

Code

function drush_bakery_add_slave($slave) {
  $slaves = variable_get('bakery_slaves', array());
  $slaves[] = $slave;
  variable_set('bakery_slaves', $slaves);
}