diff --git a/src/Database/DBStructure.php b/src/Database/DBStructure.php index 1433a5346..dc13bd656 100644 --- a/src/Database/DBStructure.php +++ b/src/Database/DBStructure.php @@ -117,7 +117,7 @@ class DBStructure } /** - * Loads the database structure definition from the config/dbstructure.config.php file. + * Loads the database structure definition from the static/dbstructure.config.php file. * On first pass, defines DB_UPDATE_VERSION constant. * * @see static/dbstructure.config.php diff --git a/src/Database/View.php b/src/Database/View.php index fa4c502a2..c7f55ee75 100644 --- a/src/Database/View.php +++ b/src/Database/View.php @@ -25,8 +25,6 @@ use Exception; use Friendica\Core\Hook; use Friendica\DI; -require_once __DIR__ . '/../../include/dba.php'; - class View { /** @@ -37,7 +35,7 @@ class View private static $definition = []; /** - * Loads the database structure definition from the config/dbview.config.php file. + * Loads the database structure definition from the static/dbview.config.php file. * On first pass, defines DB_UPDATE_VERSION constant. * * @see static/dbview.config.php