undo serialize deprecation and switch to installExternal api calls

This commit is contained in:
Dennis Eichhorn 2022-03-26 15:01:46 +01:00
parent 4d71e72146
commit d26fece31c

View File

@ -117,6 +117,8 @@ final class Installer extends InstallerAbstract
*/
private static function installLink(DatabasePool $dbPool, array $data, int $app = null) : void
{
// @todo: implement in the api and then make an api call becuse we also want to be able to install
// navigation elements manually through the user interface?!
$navElement = new NavElement();
$navElement->id = (int) ($data['id'] ?? 0);