<?php

/**
 * Get the available versions of quiqqer
 *
 * @return String
 */

QUI::getAjax()->registerFunction(
    'ajax_system_getAvailableLanguages',
    static function (): array {
        return QUI::availableLanguages();
    },
    false,
    'Permission::checkUser'
);
