diff --git a/src/lms/ui/State.cpp b/src/lms/ui/State.cpp index 5818a39c..46d0790a 100644 --- a/src/lms/ui/State.cpp +++ b/src/lms/ui/State.cpp @@ -19,7 +19,6 @@ #include "State.hpp" -#include "core/ILogger.hpp" #include "database/Session.hpp" #include "database/UIState.hpp" #include "database/User.hpp" @@ -34,8 +33,6 @@ namespace lms::ui::state::details if (LmsApp->getUserType() == db::UserType::DEMO) return; - LMS_LOG(UI, DEBUG, "Write state '" << item << "': '" << value << "'"); - { auto transaction{ LmsApp->getDbSession().createWriteTransaction() }; @@ -67,8 +64,6 @@ namespace lms::ui::state::details res = state->getValue(); } - LMS_LOG(UI, DEBUG, "Read state '" << item << "': '" << (res ? *res : "") << "'";); - return res; } @@ -78,8 +73,6 @@ namespace lms::ui::state::details if (LmsApp->getUserType() == db::UserType::DEMO) return; - LMS_LOG(UI, DEBUG, "Removing state '" << item << "'"); - { auto transaction{ LmsApp->getDbSession().createWriteTransaction() };