Skip to content

Commit

Permalink
config.inc.php: remove constant TB_OBJECT_MODELS_AUTHORITATIVE.
Browse files Browse the repository at this point in the history
This was used in module coreupdater only, which was changed to
test for the existence of class CoreModels instead. As this
constant was never in a release, it can get removed without
retrocompatibility period.

This reverts commit 202e5af.

Also forwarded module coreupdater to the point working without
this constant.
  • Loading branch information
Traumflug committed Aug 27, 2019
1 parent 3c552b3 commit bae661d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 11 deletions.
10 changes: 0 additions & 10 deletions config/config.inc.php
Expand Up @@ -39,16 +39,6 @@

$start_time = microtime(true);

/**
* This constants exists to tell CoreUpdate to consider object models definitions
* as an ultimate source of truth. Database tables will be migrated to match
* these definitions if there are any differences.
*
* Because this constant didn't exist in older version of thirtybess, downgrading will
* not trigger any database changes
*/
define('TB_OBJECT_MODELS_AUTHORITATIVE', true);

/* SSL configuration */
define('_PS_SSL_PORT_', 443);

Expand Down
2 changes: 1 addition & 1 deletion modules/coreupdater

0 comments on commit bae661d

Please sign in to comment.