function farm_update_7045 in farmOS 7
Use local OpenLayers JS library instead of CDN.
File
- ./
farm.install, line 819 - farmOS install file.
Code
function farm_update_7045(&$sandbox) {
// Set the variant config in the Openlayers module.
// Removed.
// Uninstall Libraries CDN.
db_query("DELETE FROM {system} WHERE name = 'libraries_cdn' AND type = 'module'");
}