Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- diff --git a/aws-sdk-1.5.4/services/dynamodb.class.php b/aws-sdk-1.5.4/services/dynamodb.class.php
- index cf43ec2..a408e9f 100644
- --- a/aws-sdk-1.5.4/services/dynamodb.class.php
- +++ b/aws-sdk-1.5.4/services/dynamodb.class.php
- @@ -240,7 +240,14 @@ class AmazonDynamoDB extends CFRuntime
- throw new DynamoDB_Exception('The DynamoDB class requires the "default_cache_config" configuration to be set in the config.inc.php file.');
- // @codeCoverageIgnoreEnd
- }
- -
- +
- + $this->refresh_sts_credentials_options = $options;
- + $this->refresh_sts_credentials();
- + }
- +
- + function refresh_sts_credentials() {
- + $options = $this->refresh_sts_credentials_options;
- +
- // Configure cache
- $this->set_cache_config($this->credentials->default_cache_config);
- $cache_id = $this->key . '_sts_credentials_' . sha1(serialize($options));
Add Comment
Please, Sign In to add comment