Пример #1
0
function uninstall($ctrl)
{
    $uninstall = file_get_contents(dirname(__FILE__) . '/sql/uninstall.sql');
    if ($ctrl->mySQL_w->multi_query($uninstall) !== false) {
        WebApp::clearQuery($ctrl->mySQL_w);
        return true;
    } else {
        return false;
    }
}