Commit 8c8b7a77 by pana1990

refactoring code

parent 8c50ee9e
......@@ -51,9 +51,6 @@ class AssetPanel extends Panel
public function save()
{
$bundles = Yii::$app->view->assetManager->bundles;
if (empty($bundles)) {
return [];
}
$data = [];
foreach ($bundles as $name => $bundle) {
if ($bundle instanceof AssetBundle) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment