mirror of
https://github.com/Karaka-Management/oms-Tasks.git
synced 2026-02-16 06:38:40 +00:00
Fix install
This commit is contained in:
parent
224c43f782
commit
0ad430d497
|
|
@ -29,7 +29,7 @@ use phpOMS\DataStorage\Database\Pool;
|
||||||
*/
|
*/
|
||||||
class Navigation
|
class Navigation
|
||||||
{
|
{
|
||||||
public static function install(Pool $dbPool)
|
public static function install(string $path, Pool $dbPool)
|
||||||
{
|
{
|
||||||
$navData = json_decode(file_get_contents(__DIR__ . '/Navigation.install.json'), true);
|
$navData = json_decode(file_get_contents(__DIR__ . '/Navigation.install.json'), true);
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -37,9 +37,9 @@ class Installer extends InstallerAbstract
|
||||||
/**
|
/**
|
||||||
* {@inheritdoc}
|
* {@inheritdoc}
|
||||||
*/
|
*/
|
||||||
public static function install(Pool $dbPool, InfoManager $info)
|
public static function install(string $path, Pool $dbPool, InfoManager $info)
|
||||||
{
|
{
|
||||||
parent::install($dbPool, $info);
|
parent::install($path, $dbPool, $info);
|
||||||
|
|
||||||
switch ($dbPool->get('core')->getType()) {
|
switch ($dbPool->get('core')->getType()) {
|
||||||
case DatabaseType::MYSQL:
|
case DatabaseType::MYSQL:
|
||||||
|
|
|
||||||
|
|
@ -94,6 +94,8 @@ class TaskElement
|
||||||
*/
|
*/
|
||||||
private $forwarded = 0;
|
private $forwarded = 0;
|
||||||
|
|
||||||
|
private $media = [];
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Constructor.
|
* Constructor.
|
||||||
*
|
*
|
||||||
|
|
|
||||||
|
|
@ -15,6 +15,7 @@
|
||||||
*/
|
*/
|
||||||
namespace Modules\Tasks\Models;
|
namespace Modules\Tasks\Models;
|
||||||
|
|
||||||
|
use Modules\Media\Models\MediaMapper;
|
||||||
use phpOMS\DataStorage\Database\DataMapperAbstract;
|
use phpOMS\DataStorage\Database\DataMapperAbstract;
|
||||||
use phpOMS\DataStorage\Database\RelationType;
|
use phpOMS\DataStorage\Database\RelationType;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user