diff options
author | Oleg Pudeyev <oleg@bsdpower.com> | 2012-12-13 18:00:29 -0500 |
---|---|---|
committer | Oleg Pudeyev <oleg@bsdpower.com> | 2012-12-13 18:00:29 -0500 |
commit | 1a1ae1b663079792c775c4a51d5aaaf0259fb05c (patch) | |
tree | 2c722e7a424ed7c56ab0ad53122f639acf1f3ee9 | |
parent | 12bc77d034b6ca3893bb7f9169cf1cfa1c19b440 (diff) | |
download | forums-1a1ae1b663079792c775c4a51d5aaaf0259fb05c.tar forums-1a1ae1b663079792c775c4a51d5aaaf0259fb05c.tar.gz forums-1a1ae1b663079792c775c4a51d5aaaf0259fb05c.tar.bz2 forums-1a1ae1b663079792c775c4a51d5aaaf0259fb05c.tar.xz forums-1a1ae1b663079792c775c4a51d5aaaf0259fb05c.zip |
[ticket/11015] Change permission adding in database updater to new style.
PHPBB3-11015
-rw-r--r-- | phpBB/install/database_update.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/install/database_update.php b/phpBB/install/database_update.php index 9afb5cc963..19d0d35fc0 100644 --- a/phpBB/install/database_update.php +++ b/phpBB/install/database_update.php @@ -821,13 +821,13 @@ function _add_modules($modules_to_install) * Add a new permission, optionally copy permission setting from another * * @param auth_admin $auth_admin auth_admin object -* @param dbal $db Database object +* @param phpbb_db_driver $db Database object * @param string $permission_name Name of the permission to add * @param bool $is_global True is global, false is local * @param string $copy_from Optional permission name from which to copy * @return bool true on success, false on failure */ -function _add_permission(auth_admin $auth_admin, dbal $db, $permission_name, $is_global = true, $copy_from = '') +function _add_permission(auth_admin $auth_admin, phpbb_db_driver $db, $permission_name, $is_global = true, $copy_from = '') { // Only add a permission that don't already exist if (!empty($auth_admin->acl_options['id'][$permission_name])) |