Skip to content
Permalink
Browse files

Merge branch 'MDL-44377_25' of https://github.com/stronk7/moodle into…

… MOODLE_25_STABLE
  • Loading branch information...
danpoltawski committed Mar 3, 2014
2 parents fa07779 + 0490407 commit 1249c069bbe78d793f42310148da889a01d22d51
Showing with 5 additions and 0 deletions.
  1. +5 −0 lib/dml/sqlsrv_native_moodle_database.php
@@ -145,6 +145,11 @@ public function get_configuration_hints() {
* @throws dml_connection_exception if error
*/
public function connect($dbhost, $dbuser, $dbpass, $dbname, $prefix, array $dboptions=null) {
if ($prefix == '' and !$this->external) {
// Enforce prefixes for everybody but mysql.
throw new dml_exception('prefixcannotbeempty', $this->get_dbfamily());
}
$driverstatus = $this->driver_installed();
if ($driverstatus !== true) {

0 comments on commit 1249c06

Please sign in to comment.
You can’t perform that action at this time.