function drush_bakery_add_slave in Bakery Single Sign-On System 7.2
Same name and namespace in other branches
- 8.2 bakery.drush.inc \drush_bakery_add_slave()
- 6.2 bakery.drush.inc \drush_bakery_add_slave()
- 7.4 bakery.drush.inc \drush_bakery_add_slave()
- 7.3 bakery.drush.inc \drush_bakery_add_slave()
Drush command for adding new slave.
File
- ./
bakery.drush.inc, line 34 - Drush integration for Bakery.
Code
function drush_bakery_add_slave($slave) {
$slaves = variable_get('bakery_slaves', array());
$slaves[] = $slave;
variable_set('bakery_slaves', $slaves);
}