How do I set an "overridden" strongarm-ed variable to "default" from drush (or sql-cli)?
I introduced a variable
drush vset myvar test
and then added to our dev/stage/prod strongarm.inc files, like this from prod:
$strongarm = new stdClass;
$strongarm->disabled = FALSE;
$strongarm->api_version = 1;
$strongarm->name = 'myvar';
$strongarm->value = 'live';
$export['myvar'] = $strongarm;
And then I think it was inadvertently overridden on stage before it was pushed live, so it does not respect the value in strongarm.inc. All admin access is disabled on production, so I can't get at it there. I can set it with drush vset, but everytime we do a release, it reverts to the overridden value.
Thanks...
Comments
Comment #1
euk CreditAttribution: euk commentedHi!
#1 make sure your variable is declared in the info file.
#2 delete the variable "drush vdel " - Strongarm will pick up your values from code.
#3 clear cache - "drush cc all"
Cheers!
Comment #2
jiv_e CreditAttribution: jiv_e commentedNo activity. Closing...