]> git.mxchange.org Git - friendica.git/commitdiff
Test: only insert empty user
authorMichael <heluecht@pirati.ca>
Wed, 18 Nov 2020 05:04:17 +0000 (05:04 +0000)
committerMichael <heluecht@pirati.ca>
Wed, 18 Nov 2020 05:04:17 +0000 (05:04 +0000)
src/Database/DBStructure.php

index 3c443d5371db480db332c459c9d0fc17cc7208ee..143526c0382a5f9007d768fc0f023c01bfb0885e 100644 (file)
@@ -1070,7 +1070,7 @@ class DBStructure
                        }               
                }
 
-               if (self::existsTable('user') && DBA::exists('user', ['uid' => 0])) {
+/*             if (self::existsTable('user') && DBA::exists('user', ['uid' => 0])) {
                        $system = User::getSystemAccount();
                        $user = [
                                "username" => $system['name'],
@@ -1087,7 +1087,7 @@ class DBStructure
        
                        DBA::update('user', $user, ['uid' => 0]);
                }
-
+*/
                if (self::existsTable('permissionset')) {
                        if (!DBA::exists('permissionset', ['id' => 0])) {
                                DBA::insert('permissionset', ['allow_cid' => '', 'allow_gid' => '', 'deny_cid' => '', 'deny_gid' => '']);