Use the Storm File model's getLocalRootPath() implementation

This override is no longer required as of c62ee79d7d
This commit is contained in:
Luke Towers 2022-11-16 02:55:17 -06:00
parent f0a442b4f1
commit 605c2eaa7f

View File

@ -2,7 +2,6 @@
use Url;
use Config;
use File as FileHelper;
use Storage;
use Winter\Storm\Database\Attach\File as FileBase;
use Backend\Controllers\Files;
@ -58,14 +57,6 @@ class File extends FileBase
return $url;
}
/**
* If working with local storage, determine the absolute local path.
*/
protected function getLocalRootPath()
{
return Config::get('filesystems.disks.local.root', storage_path('app'));
}
/**
* Define the public address for the storage path.
*/