瀏覽代碼

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

Remove unused pushNotifications variable
Felix Weilbach 4 年之前
父節點
當前提交
e283c166de
共有 1 個文件被更改,包括 0 次插入3 次删除
  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());
     });