Author: bhofmann
Date: Thu Mar 3 15:35:26 2011
New Revision: 1076654
URL: http://svn.apache.org/viewvc?rev=1076654&view=rev
Log:
PHP: Fixed wrong reference on static properties in BasicGadgetOAuthTokenStore
Modified:
shindig/trunk/php/src/gadgets/oauth/BasicGadgetOAuthTokenStore.php
Modified: shindig/trunk/php/src/gadgets/oauth/BasicGadgetOAuthTokenStore.php
URL:
http://svn.apache.org/viewvc/shindig/trunk/php/src/gadgets/oauth/BasicGadgetOAuthTokenStore.php?rev=1076654&r1=1076653&r2=1076654&view=diff
==============================================================================
--- shindig/trunk/php/src/gadgets/oauth/BasicGadgetOAuthTokenStore.php
(original)
+++ shindig/trunk/php/src/gadgets/oauth/BasicGadgetOAuthTokenStore.php Thu Mar
3 15:35:26 2011
@@ -100,12 +100,12 @@ class BasicGadgetOAuthTokenStore extends
$strip_this = array(" ", "\n", "\r");
//removes breaklines and trim.
$rsa_private_key = trim(str_replace($strip_this, "", $key));
- $consumerSecret = OAuth::$BEGIN_PRIVATE_KEY . "\n";
+ $consumerSecret = ShindigOAuth::$BEGIN_PRIVATE_KEY . "\n";
$chunks = str_split($rsa_private_key, 64);
foreach ($chunks as $chunk) {
$consumerSecret .= $chunk . "\n";
}
- $consumerSecret .= OAuth::$END_PRIVATE_KEY;
+ $consumerSecret .= ShindigOAuth::$END_PRIVATE_KEY;
} else {
$consumerSecret = $key;
}