mirror of
https://github.com/laravel/valet.git
synced 2026-02-07 01:00:09 +01:00
Drop old config migrations
This commit is contained in:
@@ -123,19 +123,6 @@ public function writeBaseConfiguration(): void
|
||||
if (! $this->files->exists($this->path())) {
|
||||
$this->write(['tld' => 'test', 'loopback' => VALET_LOOPBACK, 'paths' => []]);
|
||||
}
|
||||
|
||||
/**
|
||||
* Migrate old configurations from 'domain' to 'tld'.
|
||||
*/
|
||||
$config = $this->read();
|
||||
|
||||
if (! isset($config['tld'])) {
|
||||
$this->updateKey('tld', ! empty($config['domain']) ? $config['domain'] : 'test');
|
||||
}
|
||||
|
||||
if (! isset($config['loopback'])) {
|
||||
$this->updateKey('loopback', VALET_LOOPBACK);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user