drupal_get_installed_schema_version($module, $reset = FALSE, $array = FALSE)
Returns the currently installed schema version for a module.
Parameters
string $module: A module name.
bool $reset: Set to TRUE after installing or uninstalling an extension.
bool $array: Set to TRUE if you want to get information about all modules in the system.
Return value
string|int The currently installed schema version, or SCHEMA_UNINSTALLED if the module is not installed.
Related topics
Schema API API to handl