From 47559d4c99689d2193ac4b7eda3cdf293d4bea75 Mon Sep 17 00:00:00 2001 From: biz87 Date: Tue, 20 Jun 2023 00:10:17 +0600 Subject: [PATCH] remove unused logs --- _build/resolvers/resolve.utilites.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/_build/resolvers/resolve.utilites.php b/_build/resolvers/resolve.utilites.php index 62cff50f5..2ed9fb63d 100644 --- a/_build/resolvers/resolve.utilites.php +++ b/_build/resolvers/resolve.utilites.php @@ -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; }