aboutsummaryrefslogtreecommitdiffstats
path: root/admin/include/functions_upgrade.php
diff options
context:
space:
mode:
authorplegall <plg@piwigo.org>2012-03-02 22:14:38 +0000
committerplegall <plg@piwigo.org>2012-03-02 22:14:38 +0000
commit1a538bc6be1ea6f6c999f9d9a322f36c6e72b212 (patch)
tree8468fad62d2c3b7622dd7fb65157ce62845a6674 /admin/include/functions_upgrade.php
parentbea22eb6787a0a1b25b49407d5e011d422274dc7 (diff)
feature 2587: set theme "elegant" as default theme
git-svn-id: http://piwigo.org/svn/trunk@13467 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'admin/include/functions_upgrade.php')
-rw-r--r--admin/include/functions_upgrade.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/admin/include/functions_upgrade.php b/admin/include/functions_upgrade.php
index 42acedff4..07861ff94 100644
--- a/admin/include/functions_upgrade.php
+++ b/admin/include/functions_upgrade.php
@@ -119,6 +119,7 @@ function deactivate_non_standard_themes()
'clear',
'Sylvia',
'dark',
+ 'elegant',
);
$query = '
@@ -162,7 +163,7 @@ SELECT theme
{
$query = '
UPDATE '.PREFIX_TABLE.'user_infos
- SET theme = \'Sylvia\'
+ SET theme = \'elegant\'
WHERE user_id = '.$conf['default_user_id'].'
;';
pwg_query($query);