[Dev]Remove prepared code for "Auto update" policy (#31064)

* Update PowerToys.admx

* Update PowerToys.adml

* Update UpdateUtils.cpp

* Update gpo.h

* Update ReportGPOValues.cpp
This commit is contained in:
Heiko
2024-01-22 17:50:01 +01:00
committed by GitHub
parent c0a69d7d08
commit 94ee951917
5 changed files with 0 additions and 35 deletions

View File

@@ -200,14 +200,6 @@ void ProcessNewVersionInfo(const github_version_info& version_info,
void PeriodicUpdateWorker()
{
// Check if periodic update check is disabled by GPO.
// This policy code is implemented but not active. It is for later usage in PT version after 1.0 release.
//if (powertoys_gpo::getDisablePeriodicUpdateCheckValue() == powertoys_gpo::gpo_rule_configured_enabled)
//{
// Logger::info(L"Initialization of periodic update checks stopped. Periodic update checks are disabled by GPO.");
// return;
//}
for (;;)
{
auto state = UpdateState::read();