Class moved, changes applied

This commit is contained in:
Michael 2017-12-14 21:13:02 +00:00
parent ab80e6d92a
commit 15d42de647
7 changed files with 31 additions and 31 deletions

View file

@ -1,6 +1,7 @@
<?php
use \Friendica\Core\System;
use Friendica\Core\System;
use Friendica\Database\DBM;
use Friendica\Database\DBStructure;
require_once('include/datetime.php');
@ -829,12 +830,12 @@ class dba {
/**
* @brief Build the array with the table relations
*
* The array is build from the database definitions in dbstructure.php
* The array is build from the database definitions in DBStructure.php
*
* This process must only be started once, since the value is cached.
*/
private static function build_relation_data() {
$definition = db_definition();
$definition = DBStructure::definition();
foreach ($definition AS $table => $structure) {
foreach ($structure['fields'] AS $field => $field_struct) {