// GetActiveLanguages returns a list of active langages
GetActiveLanguages returns a list of active langages
// GetActiveLanguages returns a list of active langages
func GetActiveLanguages() []Language {
	var langs []Language
	uadminDatabase := NewUadminDatabase()
	defer uadminDatabase.Close()
	db := uadminDatabase.Db
	db.Model(Language{}).Where(&Language{Active: true}).Find(&langs)
	return langs
}
func GetActiveLanguages ( ) [ ] Language { var langs [ ] Language uadminDatabase := NewUadminDatabase ( ) defer uadminDatabase . Close ( ) db := uadminDatabase . Db db . Model ( Language { } ) . Where ( & Language { Active : true } ) . Find ( & langs ) return langs }
GetActiveLanguages returns a list of active langages
GetActiveLanguages returns a list of active langages