Skip to content

Commit

Permalink
remove unused logs
Browse files Browse the repository at this point in the history
  • Loading branch information
biz87 committed Jun 19, 2023
1 parent 9c91073 commit 47559d4
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions _build/resolvers/resolve.utilites.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,10 @@
$menu = $modx->getObject('modMenu', ['text' => 'ms2_utilites']);
if ($menu) {
$menu->remove();
$modx->log(modX::LOG_LEVEL_ERROR, "Removed menu item \"ms2_utilites\"");
unlink(MODX_ASSETS_PATH . 'components/minishop2/js/mgr/utilites/gallery/panel.js');
rmdir(MODX_ASSETS_PATH . 'components/minishop2/js/mgr/utilites/gallery/');
unlink(MODX_ASSETS_PATH . 'components/minishop2/js/mgr/utilites/panel.js');
rmdir(MODX_ASSETS_PATH . 'components/minishop2/js/mgr/utilites/');
$modx->log(modX::LOG_LEVEL_ERROR, "Removed all files in \"utilites\"");
}
break;
}
Expand Down

0 comments on commit 47559d4

Please sign in to comment.