1
0
Fork 0
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:
Frédéric Guillot 2019-04-28 20:13:34 -07:00 committed by fguillot
parent 4295a86e55
commit 0dff432337
7 changed files with 0 additions and 88 deletions

View file

@ -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 {