diff --git a/src/Database/DBStructure.php b/src/Database/DBStructure.php index 372e3c496..1433a5346 100644 --- a/src/Database/DBStructure.php +++ b/src/Database/DBStructure.php @@ -113,7 +113,7 @@ class DBStructure echo "\n"; } - DBView::printStructure($basePath); + View::printStructure($basePath); } /** @@ -596,7 +596,7 @@ class DBStructure } } - DBView::create($verbose, $action); + View::create($verbose, $action); if ($action && !$install) { DI::config()->set('system', 'maintenance', 0); diff --git a/src/Database/DBView.php b/src/Database/View.php similarity index 96% rename from src/Database/DBView.php rename to src/Database/View.php index cd1d22e1e..fa4c502a2 100644 --- a/src/Database/DBView.php +++ b/src/Database/View.php @@ -23,14 +23,11 @@ namespace Friendica\Database; use Exception; use Friendica\Core\Hook; -use Friendica\Core\Logger; use Friendica\DI; -use Friendica\Util\DateTimeFormat; -use phpDocumentor\Reflection\Types\Boolean; require_once __DIR__ . '/../../include/dba.php'; -class DBView +class View { /** * view definition loaded from config/dbview.config.php