You are here

public static function ShareaholicUtilities::set_version in Share Buttons, Related Posts, Content Analytics - Shareaholic 7.3

Same name and namespace in other branches
  1. 8 utilities.php \ShareaholicUtilities::set_version()

Sets the current version of this module in the database

2 calls to ShareaholicUtilities::set_version()
ShareaholicAdmin::update_check in ./admin.php
Sends an event when the user has updated the Drupal module
shareaholic_install in ./shareaholic.install
Implements hook_install(). When the user installs the module, log the event

File

./utilities.php, line 538

Class

ShareaholicUtilities

Code

public static function set_version($version) {
  self::update_options(array(
    'version' => $version,
  ));
}