Exemple #1
0
function cancelLicense($option)
{
    global $database;
    $row = new mosDMLicenses($database);
    $row->bind(DOCMAN_Utils::stripslashes($_POST));
    $row->checkin();
    mosRedirect("index2.php?option={$option}&section=licenses");
}
Exemple #2
0
function cancelLicense($option)
{
    $mainframe = JFactory::getApplication();
    $database = JFactory::getDBO();
    $row = new mosDMLicenses($database);
    $row->bind(DOCMAN_Utils::stripslashes($_POST));
    $row->checkin();
    $mainframe->redirect("index.php?option={$option}&section=licenses");
}