aboutsummaryrefslogtreecommitdiffstats
path: root/upgrade_feed.php
diff options
context:
space:
mode:
authorpatdenice <patdenice@piwigo.org>2010-03-21 21:15:54 +0000
committerpatdenice <patdenice@piwigo.org>2010-03-21 21:15:54 +0000
commit54c9ceb0f4890c7f183842f9c3adefaad64c471b (patch)
tree95cbae46dfba49cdc9c7599e8c2fcaf35b8f6ed3 /upgrade_feed.php
parent62ce6a7f152439d33b18363daf400818002b9234 (diff)
feature 1255: add pwg_select_db function.
git-svn-id: http://piwigo.org/svn/trunk@5230 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'upgrade_feed.php')
-rw-r--r--upgrade_feed.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/upgrade_feed.php b/upgrade_feed.php
index 6695da5d8..52f0cfb9f 100644
--- a/upgrade_feed.php
+++ b/upgrade_feed.php
@@ -56,8 +56,8 @@ define('UPGRADES_PATH', PHPWG_ROOT_PATH.'install/db');
// +-----------------------------------------------------------------------+
$pwg_db_link = pwg_db_connect($conf['db_host'], $conf['db_user'],
- $conf['db_password'], $conf['db_base'])
- or my_error('pwg_db_connect', true);
+ $conf['db_password'], $conf['db_base']);
+pwg_select_db($conf['db_base'], $pwg_db_link);
pwg_db_check_charset();