mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-26 23:28:14 +03:00
Merge pull request #3488 from nextcloud/bugfix/remove-unused-variable
Remove unused pushNotifications variable
This commit is contained in:
commit
e283c166de
1 changed files with 0 additions and 3 deletions
|
@ -850,9 +850,6 @@ void FolderMan::slotEtagPollTimerTimeout()
|
|||
// Some folders need not to be checked because they use the push notifications
|
||||
std::copy_if(folderMapValues.begin(), folderMapValues.end(), std::back_inserter(foldersToRun), [this](Folder *folder) -> bool {
|
||||
const auto account = folder->accountState()->account();
|
||||
const auto capabilities = account->capabilities();
|
||||
const auto pushNotifications = account->pushNotifications();
|
||||
|
||||
return !pushNotificationsFilesReady(account.data());
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in a new issue