Просмотр исходного кода

Fix configtest to use correct PostgreSQL connection function. (#1166228).

jangliss 20 лет назад
Родитель
Сommit
efa6a7d711
2 измененных файлов с 10 добавлено и 8 удалено
  1. 9 7
      ChangeLog
  2. 1 1
      src/configtest.php

+ 9 - 7
ChangeLog

@@ -246,15 +246,17 @@ Version 1.5.1 -- CVS
   - Change defaults of some prefs to more sensible / usable settings.
   - Revise the documentation of the packaged plugins.
   - Fixed edit form checks in address listing (#1124018).
-  - After sending resumed draft, return to message list
+  - After sending resumed draft, return to message list.
   - Parse and replace mailto: links with internal compose links when 
-    viewing in HTML format
+    viewing in HTML format.
   - Plugins may now define an "extra" array element to return to the attachment
-    types hook, which will be also inserted in the attachment link for the plugin
-  - Added mouseover row highlighting on message index
-  - Added <label> for checkboxes on message index (when highlighting is off)
-  - Fixed mailto: parsing in functions/url_parser.php
-  - Fixed broken signout page (plugins work here again)
+    types hook, which will be also inserted in the attachment link for the
+    plugin.
+  - Added mouseover row highlighting on message index.
+  - Added <label> for checkboxes on message index (when highlighting is off).
+  - Fixed mailto: parsing in functions/url_parser.php.
+  - Fixed broken signout page (plugins work here again).
+  - Fixed configtest to use correct PostgreSQL connection function (#1166228).
 
 Version 1.5.0
 --------------------

+ 1 - 1
src/configtest.php

@@ -361,7 +361,7 @@ if($addrbook_dsn || $prefs_dsn || $addrbook_global_dsn) {
             'mysqli' => 'mysqli_connect',
             'oci8' => 'ocilogon',
             'odbc' => 'odbc_connect',
-            'pgsql' => 'pgsql_connect',
+            'pgsql' => 'pg_connect',
             'sqlite' => 'sqlite_open',
             'sybase' => 'sybase_connect'
             );