mirror of
https://github.com/friendica/friendica
synced 2025-04-27 05:10:10 +00:00
Class moved, changes applied
This commit is contained in:
parent
ab80e6d92a
commit
15d42de647
7 changed files with 31 additions and 31 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue