Location: PHPKode > projects > ProjectPress > projectpress/pm-admin/delete_uut.php
<?php
/**
 * ProjectPress delete a user's user type or tag
 *
 * @package ProjectPress
 * @since 2.0
 */

// Starts the session.
session_start();
define('access',true);

include(dirname(dirname(__FILE__)) . '/config.inc.php');
include(PM_DIR . 'pm-includes/global.inc.php');
include(PM_DIR . 'pm-includes/functions.php');

// User is logged in and is an admin.
is_admin();

// Enable for error checking and troubleshooting.
//display_errors();
	
pmdb::connect()->query("delete from ". DB ."user_user_types where ut_id ='".pmdb::connect()->escape($_REQUEST['ut_id'])."' AND uut_user = '".pmdb::connect()->escape($_REQUEST['uut_user'])."' LIMIT 1");
Return current item: ProjectPress