mirror of
https://github.com/miniflux/v2.git
synced 2025-08-26 18:21:01 +00:00
Remove debug timer from most storage functions
This commit is contained in:
parent
4295a86e55
commit
0dff432337
7 changed files with 0 additions and 88 deletions
|
@ -7,14 +7,10 @@ package storage // import "miniflux.app/storage"
|
|||
import (
|
||||
"fmt"
|
||||
"strings"
|
||||
"time"
|
||||
|
||||
"miniflux.app/timer"
|
||||
)
|
||||
|
||||
// Timezones returns all timezones supported by the database.
|
||||
func (s *Storage) Timezones() (map[string]string, error) {
|
||||
defer timer.ExecutionTime(time.Now(), "[Storage:Timezones]")
|
||||
timezones := make(map[string]string)
|
||||
rows, err := s.db.Query(`SELECT name FROM pg_timezone_names() ORDER BY name ASC`)
|
||||
if err != nil {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue