/** * Resynchronizes the hierarchy of a device & user * * @param string $deviceId the id of the device * @param string $user the user * * @return * @access private */ private static function resyncHierarchy($deviceId, $user) { $stat = ZPushAdmin::ResyncHierarchy($user, $deviceId); echo sprintf("Removing hierarchy information for resync on device '%s' of user '%s': %s\n", $deviceId, $user, $stat ? 'Requested' : ZLog::GetLastMessage(LOGLEVEL_ERROR)); }