added missing module fixer and updated imagecache_actions

This commit is contained in:
Bachir Soussi Chiadmi
2018-03-21 17:06:08 +01:00
parent 3f7e130321
commit 0bcc558ed5
83 changed files with 6386 additions and 2517 deletions

View File

@@ -0,0 +1,16 @@
<?php
/**
* Warn about the soft dependency on system stream wrapper module.
*/
function imagecache_actions_update_7001(&$sandbox) {
drupal_set_message(t("Imagecache Actions: If you use the module:// notation anywhere in an image effect, you must now install the !module module.",
array('!module' => l('System Stream Wrapper', 'https://drupal.org/project/system_stream_wrapper', array('external' => TRUE)))), 'warning');
}
/**
* Clear image styles cache.
*/
function imagecache_actions_update_7002(&$sandbox) {
// We need to clear this cache as many effect callbacks have been renamed.
cache_clear_all('image_styles', 'cache');
}