Commit e94924df authored by Sebastian Kummer's avatar Sebastian Kummer

ZP-1037 Execute FixStatesAdditionalFolderFlags() when calling

z-push-admin fixstates.

Released under the Affero GNU General Public License (AGPL) version 3.
parent ba125996
......@@ -743,6 +743,12 @@ class ZPushAdminCLI {
printf("Devices: %d - Processed: %d - Fixed: %d - Device+User without hierarchy: %d\n", $stat[0], $stat[1], $stat[2], $stat[3]);
else
echo ZLog::GetLastMessage(LOGLEVEL_ERROR) . "\n";
echo "\tChecking flags of shared folders: ";
if (($stat = ZPushAdmin::FixStatesAdditionalFolderFlags()) !== false)
printf("Devices: %d - Devices with additional folders: %d - Fixed: %d\n", $stat[0], $stat[1], $stat[2]);
else
echo ZLog::GetLastMessage(LOGLEVEL_ERROR) . "\n";
}
/**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment