Skip to content

Commit

Permalink
Updated to undo changes of #2 as already dependent upon Laravel itsel…
Browse files Browse the repository at this point in the history
…f. Also fixes latest commit so that people may used < PHP 5.4 with Laravel 4.1
  • Loading branch information
hugofirth committed Nov 26, 2013
1 parent 7be6966 commit f99346f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ In order to install add the following to your `composer.json` file within the `r

"require": {
"hugofirth/mailchimp": "2.0.*",
"hugofirth/mailchimp": "2.*",
}

Expand Down
2 changes: 1 addition & 1 deletion src/Hugofirth/Mailchimp/MailchimpServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public function boot()
public function register()
{
$this->app->singleton('mailchimp_wrapper', function() {
$mc = new Mailchimp($this->app['config']->get('mailchimp::apikey'));
$mc = new Mailchimp(Config::get('mailchimp::apikey'));

return new MailchimpWrapper($mc);
});
Expand Down

0 comments on commit f99346f

Please sign in to comment.