Hi,

The following variables are set when we enable the module and click on " File Upload Security settings " form.

List of variables which are set :

  1. file_upload_security_fix
  2. file_upload_security_level

Proposed Solution :

  1. Add file_upload_security.install
  2. Implement hook_uninstall() to delete the variables

Comments

vishwac9 created an issue. See original summary.

vishwac9’s picture

add the following code in file_upload_security.install

/**
 * @file
 * Install, update and uninstall functions for the file_upload_security module.
 */

/**
 * Implements hook_uninstall().
 */
function file_upload_security_uninstall() {
  variable_del('file_upload_security_fix');
  variable_del('file_upload_security_level')
}

  • MrDaleSmith committed 2c3c536 on 7.x-3.x
    Issue #2847332 by vishwac9: added .install file with uninstall function.
    
mrdalesmith’s picture

Status: Active » Fixed

Cheers: added a file and set a new release to build.

mrdalesmith’s picture

Status: Fixed » Closed (fixed)