diff --git a/src/ChamiloLMS/Migrations/Version10.php b/src/ChamiloLMS/Migrations/Version10.php deleted file mode 100755 index 95064bae3e..0000000000 --- a/src/ChamiloLMS/Migrations/Version10.php +++ /dev/null @@ -1,41 +0,0 @@ -addSql("UPDATE settings_current SET selected_value = '1.10.0.001' WHERE variable = 'chamilo_database_version'"); - - //@todo change this into a function - // Web profiler - /*$this->addSql("INSERT INTO settings_current (variable, subkey, type, category, selected_value, title, comment, scope, subkeytext, access_url_changeable) VALUES ('allow_web_profiler', NULL,'radio','Portal','false','AllowWebProfilerTitle','AllowWebProfilerComment', NULL, NULL, 0)"); - $this->addSql("INSERT INTO settings_options (variable, value, display_text) VALUES ('allow_web_profiler', 'true', 'Yes')"); - $this->addSql("INSERT INTO settings_options (variable, value, display_text) VALUES ('allow_web_profiler', 'false', 'No')");*/ - - } - - /** - * Chamilo downgrade - * @param Schema $schema - */ - public function down(Schema $schema) - { - $this->addSql("UPDATE settings_current SET selected_value = '1.9.0' WHERE variable = 'chamilo_database_version'"); - // Web profiler - /* $this->addSql("DELETE FROM settings_current WHERE variable = 'allow_web_profiler'"); - $this->addSql("DELETE FROM settings_options WHERE variable = 'allow_web_profiler'");*/ - } -} diff --git a/src/ChamiloLMS/Migrations/Version11.php b/src/ChamiloLMS/Migrations/Version11.php deleted file mode 100755 index 4bace67d4f..0000000000 --- a/src/ChamiloLMS/Migrations/Version11.php +++ /dev/null @@ -1,23 +0,0 @@ -addSql('UPDATE settings_current SET selected_value = "1.11" WHERE variable = "chamilo_database_version"'); - } - - public function down(Schema $schema) - { - $this->addSql('UPDATE settings_current SET selected_value = "1.10" WHERE variable = "chamilo_database_version"'); - } -} \ No newline at end of file diff --git a/src/ChamiloLMS/Migrations/Version8.php b/src/ChamiloLMS/Migrations/Version8.php deleted file mode 100755 index 24808a912a..0000000000 --- a/src/ChamiloLMS/Migrations/Version8.php +++ /dev/null @@ -1,24 +0,0 @@ -addSql('UPDATE settings_current SET selected_value = "1.8.8.14911.doc" WHERE variable = "chamilo_database_version"'); - } - - public function down(Schema $schema) - { - $this->addSql('UPDATE settings_current SET selected_value = "1.8.7.doc" WHERE variable = "chamilo_database_version"'); - } -} diff --git a/src/ChamiloLMS/Migrations/Version9.php b/src/ChamiloLMS/Migrations/Version9.php deleted file mode 100755 index d7f046458c..0000000000 --- a/src/ChamiloLMS/Migrations/Version9.php +++ /dev/null @@ -1,23 +0,0 @@ -addSql('UPDATE settings_current SET selected_value = "1.9.0.18715.doc" WHERE variable = "chamilo_database_version"'); - } - - public function down(Schema $schema) - { - $this->addSql('UPDATE settings_current SET selected_value = "1.8.8.14911.doc" WHERE variable = "chamilo_database_version"'); - } -} diff --git a/src/ChamiloLMS/Migrations/migrations.yml b/src/ChamiloLMS/Migrations/migrations.yml deleted file mode 100644 index 75c6af1f36..0000000000 --- a/src/ChamiloLMS/Migrations/migrations.yml +++ /dev/null @@ -1,4 +0,0 @@ -name: Chamilo Migrations -migrations_namespace: ChamiloLMS\Migrations -table_name: chamilo_migration_versions -migrations_directory: src/ChamiloLMS/Migrations/ \ No newline at end of file