Commit af16240a authored by Sebastian Kummer's avatar Sebastian Kummer

Merge pull request #575 in ZP/z-push from...

Merge pull request #575 in ZP/z-push from bugfix/ZP-1262-synchronization-progress-of-z-push-admin to develop

* commit '1574cd07':
  ZP-1262 Make sure HierarchyCache is loaded when printing device details.
parents 09493d72 1574cd07
...@@ -759,7 +759,7 @@ class ZPushAdminCLI { ...@@ -759,7 +759,7 @@ class ZPushAdminCLI {
*/ */
static private function printDeviceData($deviceId, $user) { static private function printDeviceData($deviceId, $user) {
global $additionalFolders; global $additionalFolders;
$device = ZPushAdmin::GetDeviceDetails($deviceId, $user); $device = ZPushAdmin::GetDeviceDetails($deviceId, $user, true);
if (! $device instanceof ASDevice) { if (! $device instanceof ASDevice) {
echo sprintf("Folder resync failed: %s\n", ZLog::GetLastMessage(LOGLEVEL_ERROR)); echo sprintf("Folder resync failed: %s\n", ZLog::GetLastMessage(LOGLEVEL_ERROR));
......
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