Closed (fixed)
Project:
Janrain Social Login
Version:
6.x-1.0-beta1
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
19 Sep 2009 at 20:49 UTC
Updated:
11 Oct 2009 at 01:00 UTC
/**
* @file
*
* Deletes system variables set by the RPX module.
*/
/**
* Implementation of hook_uninstall().
*/
function rpx_uninstall() {
variable_del('rpx_realm');
variable_del('rpx_apikey');
variable_del('rpx_admin_url');
}
I had some problems with the rpx_realm being set to an invalid value. I thought I'd be able to uninstall the module to remove the bad values, but there was no option. This patch makes it possible to remove such bad values.
Comments
Comment #1
jpmckinney commentedOh, just save this to rpx.install
Comment #2
nrambeck commentedThanks. I've got a new version pending that includes this kind of uninstall cleanup.
Comment #3
jpmckinney commentedCan you please push that code to the 6.x-1.x-dev release as soon as possible? I feel like I'm hacking RPX a lot to get it where I need it and I'd rather not duplicate your efforts.
Comment #4
nrambeck commentedThe latest code includes uninstall procedures.