cbSpoofCheck('plugin');
        checkCanAdminPlugins('core.admin');
        installPluginURL();
        break;
    case 'installPluginDisc':
        cbSpoofCheck('plugin');
        checkCanAdminPlugins('core.admin');
        installPluginDisc();
        break;
    case 'latestVersion':
        latestVersion();
        break;
    case 'fieldclass':
    case 'tabclass':
    case 'pluginclass':
        tabClass($option, $task, (int) cbGetParam($_REQUEST, 'user', 0));
        break;
    case 'finishinstallation':
        finishInstallation($option);
        break;
    default:
        break;
}
function deleteUsers($cid, $inComprofilerOnly = false)
{
    global $_CB_framework;
    $msg = null;
    if (!Application::MyUser()->isAuthorizedToPerformActionOnAsset('core.admin', 'com_comprofiler')) {
        $msg = CBTxt::T('You cannot delete a user. Only higher-level users have this power.');
    }
    if (!$msg && is_array($cid) && count($cid)) {
Beispiel #2
0
	case "processConnectionActions":
	case "processconnectionactions":
	$oldignoreuserabort = ignore_user_abort(true);
	processConnectionActions(cbGetParam($_POST,'uid'));
	break;

	case "teamCredits":
	case "teamcredits":
	teamCredits(1);
	break;

	case "fieldclass":
	case "tabclass":
	case "pluginclass":
	tabClass( $option, $task, $_CB_framework->myId() );
	break;

	case "done":
	break;

	case "performcheckusername":
	performCheckUsername( cbGetParam( $_POST, 'value' ), cbGetParam( $_GET, 'function' ) );
	break;

	case "performcheckemail":
	performCheckEmail( cbGetParam( $_POST, 'value' ), cbGetParam( $_GET, 'function' ) );
	break;

	default:
	userProfile($option, $_CB_framework->myId(), _UE_UPDATE);