Skip to content
This repository has been archived by the owner on Jun 1, 2019. It is now read-only.

Commit

Permalink
remove legacy method
Browse files Browse the repository at this point in the history
  • Loading branch information
freekmurze committed Feb 5, 2015
1 parent ee83c9e commit c9291ab
Showing 1 changed file with 8 additions and 15 deletions.
23 changes: 8 additions & 15 deletions src/Spatie/Activitylog/ActivitylogServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,23 +20,16 @@ class ActivitylogServiceProvider extends ServiceProvider {
*/
public function boot()
{

if ($this->isLegacyLaravel())
{
$this->package('spatie/activitylog');
}
else
{
// Publish a config file
$this->publishes([
__DIR__.'/../../config/activitylog.php' => config_path('activitylog.php')
], 'config');
// Publish a config file
$this->publishes([
__DIR__.'/../../config/activitylog.php' => config_path('activitylog.php')
], 'config');

// Publish your migrations
$this->publishes([
__DIR__.'/../../migrations/' => base_path('/database/migrations')
], 'migrations');
}
$this->publishes([
__DIR__.'/../../migrations/' => base_path('/database/migrations')
], 'migrations');

}

/**
Expand Down

0 comments on commit c9291ab

Please sign in to comment.