mirror of
https://github.com/laravel/valet.git
synced 2026-02-07 09:10:03 +01:00
Clean up NullWriter; drop legacy config check
This commit is contained in:
@@ -49,14 +49,6 @@ public function uninstall(): void
|
||||
public function createConfigurationDirectory(): void
|
||||
{
|
||||
$this->files->ensureDirExists(preg_replace('~/valet$~', '', VALET_HOME_PATH), user());
|
||||
|
||||
$oldPath = posix_getpwuid(fileowner(__FILE__))['dir'].'/.valet';
|
||||
|
||||
if ($this->files->isDir($oldPath)) {
|
||||
rename($oldPath, VALET_HOME_PATH);
|
||||
$this->prependPath(VALET_HOME_PATH.'/Sites');
|
||||
}
|
||||
|
||||
$this->files->ensureDirExists(VALET_HOME_PATH, user());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user