Commit c852ba45 by Alexander Makarov

Merge pull request #5617 from pana1990/patch-1

refactoring code
parents 8c50ee9e 8c8b7a77
......@@ -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