If you keep experiencing problems but feel like you are doing nothing wrong, please contact the site administrator.'); variable_set('phpids_testonly_activated', FALSE); variable_set('phpids_testonly_withmail', FALSE); variable_del('phpids_maillevel'); $ret[] = array( 'success' => TRUE, 'query' => 'UPDATE MODULE SETTINGS', ); } return $ret; } /** * Implementation of hook_update_N(). * * Update from 6.x-1.x to 6.x-2.0 */ function phpids_update_6200() { $ret = array(); if (variable_get('phpids_blocklevel', NULL) == NULL) { variable_set('phpids_blocklevel', variable_get('phpids_warnlevel', 27)); variable_set('phpids_warnlevel', variable_get('phpids_maillevel', 9)); variable_set('phpids_loglevel', 1); variable_set('phpids_warn_title', 'Security warning'); variable_set('phpids_warn_text', 'We have detected malicious input and blocked your attempt.
If you keep experiencing problems but feel like you are doing nothing wrong, please contact the site administrator.'); variable_set('phpids_testonly_activated', FALSE); variable_set('phpids_testonly_withmail', FALSE); variable_del('phpids_maillevel'); $ret[] = array( 'success' => TRUE, 'query' => 'UPDATE MODULE SETTINGS', ); } return $ret; }