]> git.mxchange.org Git - friendica.git/blobdiff - src/Database/DBStructure.php
Call the initial value check in the test
[friendica.git] / src / Database / DBStructure.php
index 67685de3dc9e736efa55cb7161943c949ce2396f..a02d6cf1b4e3f4452a406d84dbd20e859355e51c 100644 (file)
@@ -983,7 +983,10 @@ class DBStructure
                return DBA::toArray($stmtColumns);
        }
 
-       private static function checkInitialValues()
+       /**
+        * Check if initial database values do exist - or create them
+        */
+       public static function checkInitialValues()
        {
                if (DBA::tableExists('contact') && !DBA::exists('contact', ['id' => 0])) {
                        DBA::insert('contact', ['nurl' => '']);