Guest User

Untitled

a guest
Oct 15th, 2018
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.98 KB | None | 0 0
  1. diff --git a/aws-sdk-1.5.4/services/dynamodb.class.php b/aws-sdk-1.5.4/services/dynamodb.class.php
  2. index cf43ec2..a408e9f 100644
  3. --- a/aws-sdk-1.5.4/services/dynamodb.class.php
  4. +++ b/aws-sdk-1.5.4/services/dynamodb.class.php
  5. @@ -240,7 +240,14 @@ class AmazonDynamoDB extends CFRuntime
  6. throw new DynamoDB_Exception('The DynamoDB class requires the "default_cache_config" configuration to be set in the config.inc.php file.');
  7. // @codeCoverageIgnoreEnd
  8. }
  9. -
  10. +
  11. + $this->refresh_sts_credentials_options = $options;
  12. + $this->refresh_sts_credentials();
  13. + }
  14. +
  15. + function refresh_sts_credentials() {
  16. + $options = $this->refresh_sts_credentials_options;
  17. +
  18. // Configure cache
  19. $this->set_cache_config($this->credentials->default_cache_config);
  20. $cache_id = $this->key . '_sts_credentials_' . sha1(serialize($options));
Add Comment
Please, Sign In to add comment