diff options
author | Bart Visscher <bartv@thisnet.nl> | 2013-04-03 17:52:18 +0200 |
---|---|---|
committer | Bart Visscher <bartv@thisnet.nl> | 2013-06-29 21:15:05 +0200 |
commit | 6831b78597ae38ed03343e274448dfb210af817b (patch) | |
tree | 04ca627fc599517765fd4b73c6aa7f9eae71773c /lib/setup/mysql.php | |
parent | 2faccaee0d22efa6b23586b65f222e8cc5404366 (diff) | |
download | nextcloud-server-6831b78597ae38ed03343e274448dfb210af817b.tar.gz nextcloud-server-6831b78597ae38ed03343e274448dfb210af817b.zip |
Use db setup class for option validation
Diffstat (limited to 'lib/setup/mysql.php')
-rw-r--r-- | lib/setup/mysql.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/setup/mysql.php b/lib/setup/mysql.php index 790b8e82257..aa0344f686c 100644 --- a/lib/setup/mysql.php +++ b/lib/setup/mysql.php @@ -3,6 +3,8 @@ namespace OC\Setup; class MySQL extends AbstractDatabase { + public $dbprettyname = 'MySQL'; + public function setupDatabase($username) { //check if the database user has admin right $connection = @mysql_connect($this->dbhost, $this->dbuser, $this->dbpassword); |