2013-12-09 Sergio Martin <sergio.martin@artica.es>
* extras/pandoradb_migrate_4.1_to_5.0.postgreSQL.sql extras/pandoradb_migrate_4.1_to_5.0.mysql.sql extras/pandoradb_migrate_4.1_to_5.0.oracle.sql extras/pandoradb_migrate_4.0.x_to_5.0.postgreSQL.sql extras/pandoradb_migrate_4.0.x_to_5.0.mysql.sql extras/pandoradb_migrate_4.0.x_to_5.0.oracle.sql: Add to the migration scripts a query to set default theme when update from 4.x to 5 version. It prevents from ugly layouts due not supported themes. Incident #421 git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9192 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
8ef315f3aa
commit
bef7e2f0fa
|
@ -1,3 +1,15 @@
|
|||
2013-12-09 Sergio Martin <sergio.martin@artica.es>
|
||||
|
||||
* extras/pandoradb_migrate_4.1_to_5.0.postgreSQL.sql
|
||||
extras/pandoradb_migrate_4.1_to_5.0.mysql.sql
|
||||
extras/pandoradb_migrate_4.1_to_5.0.oracle.sql
|
||||
extras/pandoradb_migrate_4.0.x_to_5.0.postgreSQL.sql
|
||||
extras/pandoradb_migrate_4.0.x_to_5.0.mysql.sql
|
||||
extras/pandoradb_migrate_4.0.x_to_5.0.oracle.sql: Add to the
|
||||
migration scripts a query to set default theme when update
|
||||
from 4.x to 5 version. It prevents from ugly layouts due
|
||||
not supported themes. Incident #421
|
||||
|
||||
2013-12-05 Miguel de Dios <miguel.dedios@artica.es>
|
||||
|
||||
* include/functions_api.php: fixed the get events filtered by group.
|
||||
|
|
|
@ -1154,3 +1154,9 @@ DELETE FROM `tlanguage` WHERE id_language IN ('ast', 'eu', 'bn', 'bg', 'ca', 'da
|
|||
DELETE FROM `tlanguage` WHERE id_language IN ('zh_TW');
|
||||
INSERT INTO `tlanguage` (`id_language`, `name`) VALUES ('ca','Catalan');
|
||||
UPDATE `tlanguage` SET `name` = 'English (UK)' WHERE `id_language` = 'en_GB';
|
||||
|
||||
|
||||
-- ---------------------------------------------------------------------
|
||||
-- Set the default style
|
||||
-- ---------------------------------------------------------------------
|
||||
UPDATE tconfig SET value = 'pandora' WHERE token = 'style';
|
||||
|
|
|
@ -1161,3 +1161,8 @@ DELETE FROM tlanguage WHERE id_language IN ('ast', 'eu', 'bn', 'bg', 'ca', 'da',
|
|||
DELETE FROM tlanguage WHERE id_language IN ('zh_TW');
|
||||
INSERT INTO tlanguage (`id_language`, `name`) VALUES ('ca','Catalan');
|
||||
UPDATE tlanguage SET name = 'English (UK)' WHERE id_language = 'en_GB';
|
||||
|
||||
-- ---------------------------------------------------------------------
|
||||
-- Set the default style
|
||||
-- ---------------------------------------------------------------------
|
||||
UPDATE tconfig SET value = 'pandora' WHERE token = 'style';
|
||||
|
|
|
@ -1145,3 +1145,8 @@ DELETE FROM "tlanguage" WHERE "id_language" IN ('ast', 'eu', 'bn', 'bg', 'ca', '
|
|||
DELETE FROM "tlanguage" WHERE "id_language" IN ('zh_TW');
|
||||
INSERT INTO "tlanguage" ("id_language", "name") VALUES ('ca','Catalan');
|
||||
UPDATE "tlanguage" SET "name" = 'English (UK)' WHERE "id_language" = 'en_GB';
|
||||
|
||||
-- ---------------------------------------------------------------------
|
||||
-- Set the default style
|
||||
UPDATE tconfig SET value = "pandora" WHERE token = "style";
|
||||
-- ---------------------------------------------------------------------
|
||||
|
|
|
@ -1153,3 +1153,7 @@ DELETE FROM tlanguage WHERE id_language IN ('zh_TW');
|
|||
INSERT INTO tlanguage (`id_language`, `name`) VALUES ('ca','Catalan');
|
||||
UPDATE `tlanguage` SET `name` = 'English (UK)' WHERE `id_language` = 'en_GB';
|
||||
|
||||
-- ---------------------------------------------------------------------
|
||||
-- Set the default style
|
||||
-- ---------------------------------------------------------------------
|
||||
UPDATE tconfig SET value = 'pandora' WHERE token = 'style';
|
||||
|
|
|
@ -1159,3 +1159,8 @@ DELETE FROM tlanguage WHERE id_language IN ('ast', 'eu', 'bn', 'bg', 'ca', 'da',
|
|||
DELETE FROM tlanguage WHERE id_language IN ('zh_TW');
|
||||
INSERT INTO tlanguage (`id_language`, `name`) VALUES ('ca','Catalan');
|
||||
UPDATE tlanguage SET name = 'English (UK)' WHERE id_language = 'en_GB';
|
||||
|
||||
-- ---------------------------------------------------------------------
|
||||
-- Set the default style
|
||||
-- ---------------------------------------------------------------------
|
||||
UPDATE tconfig SET value = 'pandora' WHERE token = 'style';
|
||||
|
|
|
@ -1143,3 +1143,8 @@ DELETE FROM "tlanguage" WHERE "id_language" IN ('ast', 'eu', 'bn', 'bg', 'ca', '
|
|||
DELETE FROM "tlanguage" WHERE "id_language" IN ('zh_TW');
|
||||
INSERT INTO "tlanguage" ("id_language", "name") VALUES ('ca','Catalan');
|
||||
UPDATE "tlanguage" SET "name" = 'English (UK)' WHERE "id_language" = 'en_GB';
|
||||
|
||||
-- ---------------------------------------------------------------------
|
||||
-- Set the default style
|
||||
-- ---------------------------------------------------------------------
|
||||
UPDATE tconfig SET value = "pandora" WHERE token = "style";
|
||||
|
|
Loading…
Reference in New Issue