Skip to content

Commit

Permalink
Fix #115
Browse files Browse the repository at this point in the history
  • Loading branch information
realityking committed Aug 16, 2012
1 parent fd36026 commit b8288d2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions installation/models/database.php
Expand Up @@ -216,7 +216,7 @@ public function createDatabase($options)
catch (RuntimeException $e)
{
// If the database could not be selected, attempt to create it and then select it.
if ($this->createDatabase($db, $options->db_name))
if ($this->createDB($db, $options->db_name))
{
$db->select($options->db_name);
}
Expand Down Expand Up @@ -622,7 +622,7 @@ public function backupDatabase($db, $name, $prefix)
*
* @since 3.0
*/
public function createDatabase($db, $name)
public function createDB($db, $name)
{
// Build the create database query.
$query = 'CREATE DATABASE ' . $db->quoteName($name) . ' CHARACTER SET `utf8`';
Expand Down

0 comments on commit b8288d2

Please sign in to comment.