corrected Database::needSqlData() and Database::getSqlData(), refs #1287

Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org>
This commit is contained in:
Michael Kaufmann (d00p)
2013-11-26 09:08:27 +01:00
parent a2dbf56d2e
commit 81c0771f3b
5 changed files with 22 additions and 10 deletions

View File

@@ -23,7 +23,7 @@ function correctMysqlUsers($mysql_access_host_array) {
// get sql-root access data
Database::needRoot(true);
Database::needSqlData(true);
Database::needSqlData();
$sql_root = Database::getSqlData();
Database::needRoot(false);