mirror of
https://github.com/Karaka-Management/oms-Profile.git
synced 2026-01-27 22:48:40 +00:00
Usage of InfoManager
This commit is contained in:
parent
22ae02ae8f
commit
a22fe2714b
|
|
@ -36,7 +36,7 @@ class Installer extends InstallerAbstract
|
|||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
public static function install(Pool $dbPool, array $info)
|
||||
public static function install(Pool $dbPool, InfoManager $info)
|
||||
{
|
||||
parent::install($dbPool, $info);
|
||||
|
||||
|
|
|
|||
|
|
@ -37,7 +37,7 @@ class Uninstall extends UninstallAbstract
|
|||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
public static function uninstall(Pool $dbPool, array $info)
|
||||
public static function uninstall(Pool $dbPool, InfoManager $info)
|
||||
{
|
||||
parent::uninstall($dbPool, $info);
|
||||
|
||||
|
|
|
|||
|
|
@ -18,7 +18,6 @@ namespace Modules\Profile;
|
|||
use Modules\Admin\Models\AccountMapper;
|
||||
use phpOMS\Contract\RenderableInterface;
|
||||
use phpOMS\Message\RequestAbstract;
|
||||
use phpOMS\Message\RequestDestination;
|
||||
use phpOMS\Message\ResponseAbstract;
|
||||
use phpOMS\Module\ModuleAbstract;
|
||||
use phpOMS\Module\WebInterface;
|
||||
|
|
@ -63,16 +62,6 @@ class Controller extends ModuleAbstract implements WebInterface
|
|||
*/
|
||||
const MODULE_NAME = 'Profile';
|
||||
|
||||
/**
|
||||
* Localization files.
|
||||
*
|
||||
* @var string
|
||||
* @since 1.0.0
|
||||
*/
|
||||
protected static $localization = [
|
||||
RequestDestination::BACKEND => [''],
|
||||
];
|
||||
|
||||
/**
|
||||
* Providing.
|
||||
*
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user