Skip to content

Commit

Permalink
wow.
Browse files Browse the repository at this point in the history
  • Loading branch information
kellymears committed Sep 9, 2019
1 parent 8ecc68d commit b8f633c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion src/Dashboard.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ class Dashboard

public function __construct(Application $app)
{
self::$cache = $app['cache']->store('default');
self::$cache = $app['cache'];
}

public function init(Collection $config)
Expand Down
1 change: 0 additions & 1 deletion src/Providers/DashboardServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ public function boot()
$config = __DIR__ . '/../config/wordpress/dashboard.php';

$this->publishes([$config => config_path('wordpress/dashboard.php')]);
$this->mergeConfigFrom($source, 'cache');

$this->app->make('wordpress.dashboard')->init(Collection::make(
$this->app['config']->get('wordpress.dashboard')
Expand Down

0 comments on commit b8f633c

Please sign in to comment.