Skip to content
This repository has been archived by the owner on Jan 10, 2020. It is now read-only.

Commit

Permalink
Making small changes to the readme
Browse files Browse the repository at this point in the history
  • Loading branch information
cakebaker committed Jan 28, 2012
1 parent c83d7d1 commit 8152f44
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Readme.md
Expand Up @@ -54,7 +54,7 @@ class TwitterController extends AppController {

## Migration from CakePHP 1.x to CakePHP 2.0.x

If you are migrating your application to CakePHP 2.0.x, you have to make a few changes beside updating the client class and the OAuth library. First, you have to change `App::import('Vendor', 'oauth', array('file' => 'OAuth'.DS.'oauth_consumer.php'));` to `App::import('Vendor', 'OAuth/OAuthClient');` everywhere you are importing the class. And second, you have to rename the class from `OAuth_Consumer` to `OAuthClient` everywhere you are instantiating it.
If you are migrating your application to CakePHP 2.0.x, you have to make a few changes beside updating the client class and the OAuth library. First, you have to change `App::import('Vendor', 'oauth', array('file' => 'OAuth'.DS.'oauth_consumer.php'));` to `App::import('Vendor', 'OAuth/OAuthClient');`. And second, you have to rename the class from `OAuth_Consumer` to `OAuthClient` when instantiating it.

## Contact

Expand Down

0 comments on commit 8152f44

Please sign in to comment.