You are here

function javascript_libraries_flush_caches in JavaScript Libraries Manager 7

Implements hook_flush_caches().

1 call to javascript_libraries_flush_caches()
drush_javascript_libraries_jslib_switch_url in ./javascript_libraries.drush.inc
Drush command callback; switches the URL of an external JavaScript library.

File

./javascript_libraries.module, line 280
Toggle the inclusion of Drupal system libraries. Upload and reference custom libraries as well.

Code

function javascript_libraries_flush_caches() {
  variable_del('javascript_libraries_last_sync');
  javascript_libraries_cron();
}