Set webservice decode_utf8 = true by default see #2052

pull/2487/head
jmontoyaa 7 years ago
parent d686781d48
commit 1b15ca0d20
  1. 1
      app/Migrations/Schema/V200/Version20.php
  2. 2
      src/CoreBundle/Settings/WebServiceSettingsSchema.php

@ -466,6 +466,7 @@ class Version20 extends AbstractMigrationChamilo
if (!$table->hasColumn('position')) {
$this->addSql('ALTER TABLE session ADD COLUMN position INT DEFAULT 0 ');
}
$this->addSql("UPDATE settings_current SET selected_value = 'true' WHERE variable = 'decode_utf8'");
}
/**

@ -22,7 +22,7 @@ class WebServiceSettingsSchema extends AbstractSettingsSchema
$builder
->setDefaults(
[
'decode_utf8' => 'false',
'decode_utf8' => 'true',
'messaging_allow_send_push_notification' => 'false',
'messaging_gdc_project_number' => '',
'messaging_gdc_api_key' => '',

Loading…
Cancel
Save