mirror of
https://github.com/flarum/core.git
synced 2025-07-19 07:41:22 +02:00
Fix asset path when unpublishing
This commit is contained in:
@@ -199,7 +199,7 @@ class ExtensionManager
|
|||||||
*/
|
*/
|
||||||
protected function unpublishAssets(Extension $extension)
|
protected function unpublishAssets(Extension $extension)
|
||||||
{
|
{
|
||||||
$this->filesystem->deleteDirectory($this->app->publicPath().'/assets/extensions/'.$extension);
|
$this->filesystem->deleteDirectory($this->app->publicPath().'/assets/extensions/'.$extension->getId());
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Reference in New Issue
Block a user