1
0
mirror of https://github.com/BookStackApp/BookStack.git synced 2025-07-31 15:24:31 +03:00

Made more efficiency improvements to permission system

This commit is contained in:
Dan Brown
2017-04-30 11:38:58 +01:00
parent 1859a4d356
commit 5570e858e5
6 changed files with 93 additions and 50 deletions

View File

@ -50,6 +50,15 @@ class SearchService
$this->permissionService = $permissionService;
}
/**
* Set the database connection
* @param Connection $connection
*/
public function setConnection(Connection $connection)
{
$this->db = $connection;
}
/**
* Search all entities in the system.
* @param string $searchString