mirror of
https://github.com/Karaka-Management/oms-Navigation.git
synced 2026-01-24 06:18:40 +00:00
remove db prefix
This commit is contained in:
parent
5cad309211
commit
d08c9e741e
|
|
@ -46,7 +46,7 @@ final class Installer extends InstallerAbstract
|
|||
public static function installExternal(DatabasePool $dbPool, array $data) : void
|
||||
{
|
||||
try {
|
||||
$dbPool->get()->con->query('select 1 from `' . $dbPool->get()->prefix . 'nav`');
|
||||
$dbPool->get()->con->query('select 1 from `nav`');
|
||||
} catch (\Exception $e) {
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -90,7 +90,6 @@ class Navigation
|
|||
$this->nav = [];
|
||||
|
||||
$query = new Builder($this->dbPool->get('select'));
|
||||
$query->prefix($this->dbPool->get('select')->prefix);
|
||||
$sth = $query->select('*')
|
||||
->from('nav')
|
||||
->whereIn('nav.nav_pid', $hashes)
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user