mirror of
https://github.com/Karaka-Management/oms-Purchase.git
synced 2026-02-01 00:58:40 +00:00
Fix minor bugs for full inspections
This commit is contained in:
parent
51df0d4909
commit
1c558fe319
|
|
@ -17,6 +17,7 @@ namespace Modules\Purchase\Admin;
|
|||
use phpOMS\DataStorage\Database\DatabasePool;
|
||||
use phpOMS\DataStorage\Database\Schema\Builder;
|
||||
use phpOMS\Module\UninstallAbstract;
|
||||
use phpOMS\Module\InfoManager;
|
||||
|
||||
/**
|
||||
* Navigation class.
|
||||
|
|
|
|||
|
|
@ -17,6 +17,8 @@ namespace Modules\Purchase\Admin;
|
|||
use phpOMS\DataStorage\Database\DatabasePool;
|
||||
use phpOMS\Module\UpdateAbstract;
|
||||
use phpOMS\System\File\Directory;
|
||||
use phpOMS\Module\InfoManager;
|
||||
|
||||
|
||||
/**
|
||||
* Navigation class.
|
||||
|
|
@ -33,7 +35,7 @@ class Update extends UpdateAbstract
|
|||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
public static function update(DatabasePool $dbPool, array $info)
|
||||
public static function update(DatabasePool $dbPool, InfoManager $info)
|
||||
{
|
||||
Directory::deletePath(__DIR__ . '/Update');
|
||||
mkdir('Update');
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user