Commit 1574cd07 authored by Sebastian Kummer's avatar Sebastian Kummer

ZP-1262 Make sure HierarchyCache is loaded when printing device details.

Released under the Affero GNU General Public License (AGPL) version 3.
parent 09493d72
...@@ -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