From 144b5dd8d7d2ad91ae4ab03fe8b84b66b44eefea Mon Sep 17 00:00:00 2001 From: Alexander Walther Date: Fri, 31 Dec 2021 13:08:57 +0100 Subject: [PATCH] remove debug-Ausgabe bei Update auf 4.0 (roles) (#1208) closes #1202 --- plugins/manager/install.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/manager/install.php b/plugins/manager/install.php index fc02b0d7..3f19e78f 100644 --- a/plugins/manager/install.php +++ b/plugins/manager/install.php @@ -98,7 +98,7 @@ foreach (rex_sql::factory()->getArray('SELECT id, perms FROM ' . rex::getTablePrefix() . 'user_role') as $role) { if (false === strpos((string) $role['perms'], '"yform_manager_table_edit":')) { $perms = str_replace('"yform_manager_table":', '"yform_manager_table_edit":', (string) $role['perms']); - rex_sql::factory()->setDebug()->setQuery('UPDATE ' . rex::getTablePrefix() . 'user_role SET perms=? where id=?', [$perms, $role['id']]); + rex_sql::factory()->setQuery('UPDATE ' . rex::getTablePrefix() . 'user_role SET perms=? where id=?', [$perms, $role['id']]); } }