2
0
forked from Wavyzz/dolibarr

Merge pull request #2887 from GPCsolutions/dolibarr-2886

Deprecation of the mysql driver
This commit is contained in:
Laurent Destailleur
2015-05-25 18:50:40 +02:00
3 changed files with 7 additions and 3 deletions

View File

@@ -28,6 +28,8 @@ require_once DOL_DOCUMENT_ROOT .'/core/db/DoliDB.class.php';
/**
* Class to manage Dolibarr database access for a MySQL database using the mysql extension
*
* @deprecated Use DoliDBMysqli
*/
class DoliDBMysql extends DoliDB
{

View File

@@ -328,8 +328,9 @@ if (! empty($force_install_message))
$option.='>';
$option.=$type.'   ';
if ($note) $option.=' '.$note;
// Experimental
if ($type=='mssql') $option.=' '.$langs->trans("Experimental");
// Deprecated and experimental
if ($type=='mysql') $option.=' ' . $langs->trans("Deprecated");
elseif ($type=='mssql') $option.=' '.$langs->trans("Experimental");
elseif ($type=='sqlite') $option.=' '.$langs->trans("Experimental");
elseif ($type=='sqlite3') $option.=' '.$langs->trans("Experimental");
// No available

View File

@@ -64,6 +64,7 @@ DatabaseSuperUserAccess=Database server - Superuser access
CheckToCreateDatabase=Check box if database does not exist and must be created.<br>In this case, you must fill the login/password for superuser account at the bottom of this page.
CheckToCreateUser=Check box if database owner does not exist and must be created.<br>In this case, you must choose its login and password and also fill the login/password for the superuser account at the bottom of this page. If this box is unchecked, owner database and its passwords must exists.
Experimental=(experimental)
Deprecated=(deprecated)
DatabaseRootLoginDescription=Login of the user allowed to create new databases or new users, mandatory if your database or its owner does not already exists.
KeepEmptyIfNoPassword=Leave empty if user has no password (avoid this)
SaveConfigurationFile=Save values
@@ -211,4 +212,4 @@ MigrationCategorieAssociation=Migration of categories
MigrationEvents=Migration of events to add event owner into assignement table
ShowNotAvailableOptions=Show not available options
HideNotAvailableOptions=Hide not available options
HideNotAvailableOptions=Hide not available options