Function DatabaseRepair->search_for_privilege_issues
Definitions
sources/database_repair.php
- Search for issues between the expected privileges and existent privileges.
- Visibility: private
- Is abstract?: No
- Is static?: No
- Is final?: No
- Returns: bool
Parameters
Name | Type | Passed by reference? | Variadic? | Default | Set | Range | Description |
---|---|---|---|---|---|---|---|
$existent_privileges | array | No | No | required parameter | N/A | N/A | Existent privileges |
$expected_privileges | array | No | No | required parameter | N/A | N/A | Expected privileges |
Returns
- Whether there have been issues found
- Type: boolean
- Set: N/A
- Range: N/A
Preview
Code (PHP)
/**
* Search for issues between the expected privileges and existent privileges.
*
* @param array $existent_privileges Existent privileges
* @param array $expected_privileges Expected privileges
* @return boolean Whether there have been issues found
*/
private function search_for_privilege_issues(array $existent_privileges, array $expected_privileges) : bool
* Search for issues between the expected privileges and existent privileges.
*
* @param array $existent_privileges Existent privileges
* @param array $expected_privileges Expected privileges
* @return boolean Whether there have been issues found
*/
private function search_for_privilege_issues(array $existent_privileges, array $expected_privileges) : bool