$dms, 'user'=>$user)); if (!$user->isAdmin()) { UI::exitError(getMLText("admin_tools"),getMLText("access_denied")); } /* Also have a look at op/op.ImportUsers.php which calls the view as well. */ if($view) { $view->setParam('log', array()); $view->setParam('newusers', array()); $view->setParam('colmap', array()); $view($_GET); exit; }