Skip to content

Commit f99346f

Browse files
committed
Updated to undo changes of hugofirth#2 as already dependent upon Laravel itself. Also fixes latest commit so that people may used < PHP 5.4 with Laravel 4.1
1 parent 7be6966 commit f99346f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ In order to install add the following to your `composer.json` file within the `r
1111

1212
"require": {
1313
14-
"hugofirth/mailchimp": "2.0.*",
14+
"hugofirth/mailchimp": "2.*",
1515
1616
}
1717

src/Hugofirth/Mailchimp/MailchimpServiceProvider.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ public function boot()
3131
public function register()
3232
{
3333
$this->app->singleton('mailchimp_wrapper', function() {
34-
$mc = new Mailchimp($this->app['config']->get('mailchimp::apikey'));
34+
$mc = new Mailchimp(Config::get('mailchimp::apikey'));
3535

3636
return new MailchimpWrapper($mc);
3737
});

0 commit comments

Comments
 (0)