From 072f4f89cb53ef5742130224b851c73abbb7441e Mon Sep 17 00:00:00 2001 From: Franz Liedke Date: Sun, 21 Jan 2018 21:12:31 +0100 Subject: [PATCH] Assets extender: Remove defaultAssets() method See https://github.com/flarum/flarum-ext-approval/commit/a7821a24a2a7cf598aded163492afc3bbe776bc5#r26990974. --- src/Extend/Assets.php | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/Extend/Assets.php b/src/Extend/Assets.php index 482ace057..0738e2529 100644 --- a/src/Extend/Assets.php +++ b/src/Extend/Assets.php @@ -27,14 +27,6 @@ class Assets implements Extender $this->appName = $appName; } - public function defaultAssets($baseDir) - { - $this->asset("$baseDir/js/{$this->appName}/dist/extension.js"); - $this->asset("$baseDir/less/{$this->appName}/extension.less"); - - return $this; - } - public function asset($path) { $this->assets[] = $path;