mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-02-23 19:49:43 +01:00
[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:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user