Commit

commit 97c1ee30d57f391fa98138fdc2416b3caa64ab56
Author: Jan Dankert 
Date:   Sat Sep 26 02:26:39 2020 +0200

    Refactoring: No global functions any more, the database object is read from the Db class.

 modules/cms/Dispatcher.class.php               |  5 ++-
 modules/cms/action/LoginAction.class.php       | 25 ++++--------
 modules/cms/action/ProjectAction.class.php     |  2 +-
 modules/cms/action/ProjectlistAction.class.php |  2 +-
 modules/cms/action/StartAction.class.php       |  4 +-
 modules/cms/auth/InternalAuth.class.php        |  4 +-
 modules/cms/auth/LdapAuth.class.php            |  2 +-
 modules/cms/auth/LdapUserDNAuth.class.php      |  2 +-
 modules/cms/base/Common.class.php              | 31 +--------------
 modules/cms/base/DB.class.php                  | 19 ++++++++-
 modules/cms/generator/ValueGenerator.class.php |  6 +--
 modules/cms/model/Acl.class.php                | 15 ++++---
 modules/cms/model/Alias.class.php              | 16 ++++----
 modules/cms/model/BaseObject.class.php         | 55 +++++++++++++-------------
 modules/cms/model/Element.class.php            | 13 +++---
 modules/cms/model/File.class.php               | 25 ++++++------
 modules/cms/model/Folder.class.php             | 47 +++++++++++-----------
 modules/cms/model/Group.class.php              | 28 ++++++-------
 modules/cms/model/Language.class.php           | 13 +++---
 modules/cms/model/Link.class.php               | 12 +++---
 modules/cms/model/Model.class.php              | 12 +++---
 modules/cms/model/Name.class.php               |  4 +-
 modules/cms/model/Page.class.php               | 17 ++++----
 modules/cms/model/Project.class.php            | 46 ++++++++++-----------
 modules/cms/model/Template.class.php           | 18 ++++-----
 modules/cms/model/TemplateModel.class.php      |  4 +-
 modules/cms/model/Url.class.php                | 12 +++---
 modules/cms/model/User.class.php               | 53 +++++++++++++------------
 modules/cms/model/Value.class.php              | 26 ++++++------
 modules/cms/ui/action/TitleAction.class.php    |  3 +-
 modules/util/Api.class.php                     |  2 +-
 modules/util/Http.class.php                    |  3 +-
 modules/util/Macro.class.php                   |  3 +-
 modules/util/cache/FileCache.class.php         |  3 +-
 34 files changed, 264 insertions(+), 268 deletions(-)