Commit aea3addf authored by tstoeckler's avatar tstoeckler

Issue #466090 by tstoeckler: Add update function.

parent b259580b
Libraries 7.x-2.x, xxxx-xx-xx
-----------------------------
#466090 by tstoeckler: Add update function.
#466090 by tstoeckler: Allow cache to be flushed.
#466090 by tstoeckler, sun: Cache library information.
#1064008 by tstoeckler, bfroehle: Fix outdated API examples in libraries.api.php.
......
......@@ -13,3 +13,13 @@ function libraries_schema() {
$schema['cache_libraries']['description'] = 'Cache table to store library information';
return $schema;
}
/**
* Create the 'cache_libraries' table.
*/
function libraries_update_7200() {
if (!db_table_exists('cache_libraries')) {
$specs = drupal_get_schema_unprocessed('system', 'cache');
db_create_table('cache_libraries', $specs);
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment