Commit fc4f9d52 authored by Sebastian Kummer's avatar Sebastian Kummer

ZP-933 Now with file.

Released under the Affero GNU General Public License (AGPL) version 3.
parent 67d3ee49
......@@ -645,14 +645,14 @@ class ZPushAdminCLI {
else {
$gab = $device->GetKoeGabBackendFolderId();
}
if (false && $gab === false) {
if (!$gab) {
printf("Could not find KOE GAB folderid for device '%s' of user '%s'\n", $deviceId, $user);
return false;
}
$searchFor = $gab;
}
// potential long ids are converted to folderids here, incl. the gab id
$searchFor = $device->GetFolderIdForBackendId($searchFor, false, false, null);
$searchFor = strtolower($device->GetFolderIdForBackendId($searchFor, false, false, null));
foreach ($device->GetAllFolderIds() as $folderid) {
// if submitting a folderid as type to resync a specific folder.
......
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