=')) { $requirements['colorbox_plugin'] = array( 'title' => $t('Colorbox plugin'), 'severity' => REQUIREMENT_OK, 'value' => $colorbox_version, ); } else { $requirements['colorbox_plugin'] = array( 'title' => $t('Colorbox plugin'), 'value' => $t('At least @a', array('@a' => COLORBOX_MIN_PLUGIN_VERSION)), 'severity' => REQUIREMENT_ERROR, 'description' => $t('You need to download the !colorbox and extract the entire contents of the archive into the %path folder of your server.', array('!colorbox' => l(t('Colorbox plugin'), 'http://colorpowered.com/colorbox/'), '%path' => $library_path)), ); } } return $requirements; } /** * Implements hook_uninstall(). */ function colorbox_uninstall() { db_query("DELETE FROM {variable} WHERE name LIKE 'colorbox_%'"); } /** * Delete the unused colorbox_login_form variabel. */ function colorbox_update_7001() { $ret = array(); variable_del('colorbox_login_form'); return $ret; }