<?php

/**
 * This file contains package_ecoyn_core_ajax_finishInstallation
 */

/**
 * @return array
 */

use Ecoyn\Setup\SetupFinish;

QUI::getAjax()->registerFunction(
    'package_ecoyn_core_ajax_finishInstallation',
    function () {
        $Finish = new SetupFinish();
        $Finish->execute();
    },
    false,
    'Permission::checkAdminUser'
);
