gal_service_account_upgrade

The Google Apps Login gal service account upgrade function.

Description

gal_service_account_upgrade( &$option, (string) $gal_option_name, &$existing_sa_options, (string) $gal_sa_option_name ); 

Parameters (4)

0. $option
The option.
1. $gal_option_name (string)
The gal option name.
2. $existing_sa_options
The existing sa options.
3. $gal_sa_option_name (string)
The gal sa option name.

Usage

  1. if ( !function_exists( 'gal_service_account_upgrade' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'google-apps-login/core/service_account_upgrade.php'; 
  3.  
  4. // The option. 
  5. $option = &$option; 
  6.  
  7. // The gal option name. 
  8. $gal_option_name = ''; 
  9.  
  10. // The existing sa options. 
  11. $existing_sa_options = &$existing_sa_options; 
  12.  
  13. // The gal sa option name. 
  14. $gal_sa_option_name = ''; 
  15.  
  16. // NOTICE! Understand what this does before running. 
  17. $result = gal_service_account_upgrade($option, $gal_option_name, $existing_sa_options, $gal_sa_option_name); 
  18.  

Defined (1)

The function is defined in the following location(s).

/core/service_account_upgrade.php