Created
May 30, 2012 08:39
-
-
Save muhqu/2834585 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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)); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment