new-installer: GRANT permissions to our new non-root user by sourcing users.sql
authorÆvar Arnfjörð Bjarmason <avar@users.mediawiki.org>
Sun, 4 Jul 2010 16:16:28 +0000 (16:16 +0000)
committerÆvar Arnfjörð Bjarmason <avar@users.mediawiki.org>
Sun, 4 Jul 2010 16:16:28 +0000 (16:16 +0000)
commit3ae5637b223669d503edba9687975b84190a14de
tree27562196483b0c39613e3785c87e0718ef016c77
parent57f473ad838f6ac0a9feb7f2513091e4f430bc2d
new-installer: GRANT permissions to our new non-root user by sourcing users.sql

The old installer sourced maintenance/users.sql to create a new
non-root user if requested. Do that in the new installer as well.

So far this only works on MySQL, but I'm adding a generic setupUser
function on the assumption that other databases (except SQLite) want
to do some sort of user setup.
includes/installer/Installer.i18n.php
includes/installer/Installer.php
includes/installer/InstallerDBType.php
includes/installer/MysqlInstaller.php