Explorar o código

Merge pull request #3488 from nextcloud/bugfix/remove-unused-variable

Remove unused pushNotifications variable
Felix Weilbach %!s(int64=4) %!d(string=hai) anos
pai
achega
e283c166de
Modificáronse 1 ficheiros con 0 adicións e 3 borrados
  1. 0 3
      src/gui/folderman.cpp

+ 0 - 3
src/gui/folderman.cpp

@@ -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());
     });