mirror of
https://github.com/miniflux/v2.git
synced 2025-08-11 17:51:01 +00:00
Remove unused function
This commit is contained in:
parent
4468ef1410
commit
b35fece3d5
2 changed files with 0 additions and 23 deletions
|
@ -84,12 +84,3 @@ func ValidateRange(offset, limit int) error {
|
|||
|
||||
return nil
|
||||
}
|
||||
|
||||
// OppositeDirection returns the opposite sorting direction.
|
||||
func OppositeDirection(direction string) string {
|
||||
if direction == "asc" {
|
||||
return "desc"
|
||||
}
|
||||
|
||||
return "asc"
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue