mirror of
https://github.com/Karaka-Management/oms-Navigation.git
synced 2026-02-11 22:38:41 +00:00
Fix dependencies
This commit is contained in:
parent
4dcc04495b
commit
f4e0d7cae7
|
|
@ -71,7 +71,7 @@ class Installer extends InstallerAbstract
|
||||||
*
|
*
|
||||||
* @since 1.0.0
|
* @since 1.0.0
|
||||||
*/
|
*/
|
||||||
public static function installExternal(DatabasePool $dbPool, array $data)
|
public static function installExternal(DatabasePool $dbPool, array $data) : void
|
||||||
{
|
{
|
||||||
try {
|
try {
|
||||||
$dbPool->get()->con->query('select 1 from `' . $dbPool->get()->prefix . 'nav`');
|
$dbPool->get()->con->query('select 1 from `' . $dbPool->get()->prefix . 'nav`');
|
||||||
|
|
@ -94,7 +94,7 @@ class Installer extends InstallerAbstract
|
||||||
*
|
*
|
||||||
* @since 1.0.0
|
* @since 1.0.0
|
||||||
*/
|
*/
|
||||||
private static function installLink($dbPool, $data)
|
private static function installLink($dbPool, $data) : void
|
||||||
{
|
{
|
||||||
$sth = $dbPool->get()->con->prepare(
|
$sth = $dbPool->get()->con->prepare(
|
||||||
'INSERT INTO `' . $dbPool->get()->prefix . 'nav` (`nav_id`, `nav_pid`, `nav_name`, `nav_type`, `nav_subtype`, `nav_icon`, `nav_uri`, `nav_target`, `nav_from`, `nav_order`, `nav_parent`, `nav_permission_type`, `nav_permission_element`) VALUES
|
'INSERT INTO `' . $dbPool->get()->prefix . 'nav` (`nav_id`, `nav_pid`, `nav_name`, `nav_type`, `nav_subtype`, `nav_icon`, `nav_uri`, `nav_target`, `nav_from`, `nav_order`, `nav_parent`, `nav_permission_type`, `nav_permission_element`) VALUES
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user