mirror of
https://github.com/flarum/framework.git
synced 2024-11-25 09:41:49 +08:00
Merge pull request #1130 from clarkwinkelmann/patch-1
Fix asset path when unpublishing
This commit is contained in:
commit
9718f54683
|
@ -199,7 +199,7 @@ class ExtensionManager
|
|||
*/
|
||||
protected function unpublishAssets(Extension $extension)
|
||||
{
|
||||
$this->filesystem->deleteDirectory($this->app->publicPath().'/assets/extensions/'.$extension);
|
||||
$this->filesystem->deleteDirectory($this->app->publicPath().'/assets/extensions/'.$extension->getId());
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue
Block a user