You are here

function lazy_update_7102 in Lazy-load 7

New configuration option to set which pages should disable Lazy-loading.

File

./lazy.install, line 184
Install, update, and uninstall functions for the Lazy-load module.

Code

function lazy_update_7102() {
  $defaults = variable_get('lazy_filter_defaults');
  $defaults['lazy_disabled_paths'] = 'rss.xml';
  variable_set('lazy_filter_defaults', $defaults);
  variable_set('lazy_disabled_paths', $defaults['lazy_disabled_paths']);
}