From 51bc5279a07397e28b35fbeefb27ea6041f9b6cd Mon Sep 17 00:00:00 2001 From: Michael Date: Sat, 25 Apr 2020 18:36:58 +0000 Subject: [PATCH] Documentation and unneeded stuff removed --- src/Database/DBStructure.php | 2 +- src/Database/View.php | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) 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