public static function ShareaholicAdmin::post_install in Share Buttons, Related Posts, Content Analytics - Shareaholic 8
Same name and namespace in other branches
- 7.3 admin.php \ShareaholicAdmin::post_install()
This function will run post install tasks when a shareaholic flag is set
1 call to ShareaholicAdmin::post_install()
- shareaholic_init in ./
shareaholic.module - Implements hook_init() This gets called at the beginning of a non-cached page request Ideal for setting response headers
File
- ./
admin.php, line 156
Class
- ShareaholicAdmin
- This class takes care of all of the admin interface.
Code
public static function post_install() {
if (variable_get('Installed_Module_Shareaholic', '') == 'shareaholic') {
// delete this so we do not check again
variable_del('Installed_Module_Shareaholic');
// Do share counts check
ShareaholicUtilities::share_counts_api_connectivity_check();
}
}