public function executeRegistration(sfWebRequest $request)
 {
     global $CFG;
     $CFG->current_app->requireMahara();
     $wants_url_id = $request->getParameter('url');
     if ($wants_url_id) {
         $wants_url = GcrWantsUrlTable::getInstance()->find($wants_url_id);
         if ($wants_url) {
             $url = substr($wants_url->getWantsUrl(), strlen($CFG->current_app->getUrl()));
             // We need this action primarily so that we can call GcrWantsUrlTable::createWantsUrl
             // from the institution's domain because it sets a cookie as its means of saving a wantsurl
             GcrWantsUrlTable::createWantsUrl('registration', $CFG->current_app, $url);
             $wants_url->delete();
         }
     }
     $this->redirect($CFG->current_app->getAppUrl() . 'register.php');
 }