You are here

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

Same name and namespace in other branches
  1. 7.3 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,
  ));
}