1
0
Fork 0
mirror of https://github.com/documize/community.git synced 2025-07-23 15:19:42 +02:00

removed old API

This commit is contained in:
Harvey Kandola 2017-08-02 15:26:31 +01:00
parent e284a46f86
commit 562872a4a8
105 changed files with 337 additions and 14496 deletions

View file

@ -68,7 +68,7 @@ func InitRuntime(r *env.Runtime, s *domain.Store) bool {
// go into setup mode if required
if r.Flags.SiteMode != env.SiteModeOffline {
if database.Check(r) {
if err := database.Migrate(*r, true /* the config table exists */); err != nil {
if err := database.Migrate(r, true /* the config table exists */); err != nil {
r.Log.Error("unable to run database migration", err)
return false
}