From 380d9ccc21091d6f272460104ee4afe1b92dc89c Mon Sep 17 00:00:00 2001 From: plegall Date: Thu, 3 Feb 2011 11:28:34 +0000 Subject: bug 1684 fixed: the fix for bug:1683 was an "automatic repair" but it adds useless code. We couldn't create a migration task on the stable branch, but on trunk this is possible. git-svn-id: http://piwigo.org/svn/trunk@9074 68402e56-0260-453c-a942-63ccdbb3a9ee --- install/db/97-database.php | 63 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 63 insertions(+) create mode 100644 install/db/97-database.php (limited to 'install/db') diff --git a/install/db/97-database.php b/install/db/97-database.php new file mode 100644 index 000000000..354fa8a0e --- /dev/null +++ b/install/db/97-database.php @@ -0,0 +1,63 @@ + $conf['default_user_id'], + 'theme' => empty($theme) ? 'Sylvia' : $theme, + 'language' => empty($language) ? 'en_UK' : $language, + ); + +mass_updates( + USER_INFOS_TABLE, + array( + 'primary' => array('user_id'), + 'update' => array('theme', 'language') + ), + array( + $data + ) + ); + +echo +"\n" +. $upgrade_description +."\n" +; +?> \ No newline at end of file -- cgit v1.2.3