update_already_performed($module, $number)
Determines if a module update has already been performed.
$module: The name of the module.
$number: The number of the update within that module.
TRUE if the database schema indicates that the update has already been performed; FALSE otherwise.
function update_already_performed($module, $number) { return $number <= drupal_get_installed_schema_version($module); }
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!includes!update.inc/function/update_already_performed/8.1.x