* @copyright 2008-2016 Alexander Schneider * @license http://www.gnu.org/licenses/gpl-2.0.html GNU General Public License, version 2 * @version SVN: $Id$ * @link http://wordpress.org/extend/plugins/user-access-manager/ */ global $oUserAccessManager; if (isset($_POST['action'])) { $sPostAction = $_POST['action']; } else { $sPostAction = null; } if ($sPostAction == 'update_db') { if (empty($_POST) || !wp_verify_nonce($_POST['uamSetupUpdateNonce'], 'uamSetupUpdate') ) { wp_die(TXT_UAM_NONCE_FAILURE); } if (isset($_POST['uam_update_db'])) { $sUpdate = $_POST['uam_update_db']; } else { $sUpdate = null; } if ($sUpdate == 'true' || $sUpdate == 'network' ) { $mNetwork = false; if ($sUpdate == 'network') { $mNetwork = true; } $oUserAccessManager->update($mNetwork); ?>

uninstall(); $oUserAccessManager->install(); ?>

isDatabaseUpdateNecessary()) { ?> ">
">