moved transformers

This commit is contained in:
denisdulici
2017-10-16 21:02:32 +03:00
parent b1b36d8a64
commit 33f805fba5
44 changed files with 96 additions and 66 deletions

View File

@@ -0,0 +1,30 @@
<?php
namespace App\Listeners\Updates;
use App\Events\UpdateFinished;
use File;
class Version106 extends Listener
{
const ALIAS = 'core';
const VERSION = '1.0.6';
/**
* Handle the event.
*
* @param $event
* @return void
*/
public function handle(UpdateFinished $event)
{
// Check if should listen
if (!$this->check($event)) {
return;
}
// Moved to app directory
File::deleteDirectory(app_path('Http' . DIRECTORY_SEPARATOR .'Transformers'));
}
}