File: D:/HostingSpaces/SBogers95/rentman.io/app/Komma/Updates/Kms/UpdateController.php
<?php
namespace App\Komma\Updates\Kms;
/**
* @author Komma <info@komma.pro>
* @copyright (c) 2012-2016, Komma
*/
use App\Komma\Kms\Core\SectionController;
use App\Komma\Updates\Models\Update;
class UpdateController extends SectionController
{
protected $slug = 'updates';
protected $forModelName = Update::class;
public function __construct(UpdateSection $section)
{
parent::__construct($section);
}
public function index()
{
$importOldUpdates = \App::make(ImportOldUpdates::class);
// $importOldUpdates->cleanCurrentTable();
// $importOldUpdates->convertOldUpdateTable();
return parent::index();
}
}