Skip to content

Commit

Permalink
- SDK update.
Browse files Browse the repository at this point in the history
- Removed unneeded code (fixed in the SDK).
  • Loading branch information
pablocarmu committed Nov 30, 2018
1 parent 13d58f8 commit af94881
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions ownCloud/Client/Actions/Action.swift
Original file line number Diff line number Diff line change
Expand Up @@ -129,19 +129,6 @@ class Action : NSObject {
return .noMatch
}

// Filter by location identifier i.e. .sortbar
let matches = self.locations?.filter({ (identifier) in
identifier == context.location?.identifier
})

guard matches != nil else {
return .noMatch
}

if matches!.count == 0 {
return .noMatch
}

return priority

// Additional filtering (f.ex. via OCClassSettings, Settings) goes here
Expand Down

0 comments on commit af94881

Please sign in to comment.