diff --git a/libraries.module b/libraries.module index c67ce79..fefe386 100644 --- a/libraries.module +++ b/libraries.module @@ -9,7 +9,11 @@ * Implements hook_flush_caches(). */ function libraries_flush_caches() { - return array('cache_libraries'); + // Table may not exist in some edge cases. This condition should be removed + // when the following core issue is resolved: http://drupal.org/node/1477932. + if (db_table_exists('cache_libraries')) { + return array('cache_libraries'); + } } /**