Skip to content
Snippets Groups Projects
Commit 9fd6e3b9 authored by Sonia Zorba's avatar Sonia Zorba
Browse files

Minor fixes for autojoin

parent 60c453ef
No related branches found
No related tags found
No related merge requests found
......@@ -330,7 +330,7 @@ Flight::route('GET /register', function() {
global $locator;
$loginHandler = new \RAP\LoginHandler($locator);
$loginHandler->register();
Flight::redirect($loginHandler->register());
});
/**
......
......@@ -2,6 +2,7 @@ DELIMITER //
CREATE PROCEDURE delete_user (userId INT)
BEGIN
UPDATE user SET primary_identity = NULL WHERE id = userId;
DELETE FROM keep_separated WHERE user_id1 = userId OR user_id2 = userId;
DELETE FROM identity WHERE user_id = userId;
DELETE FROM user WHERE id = userId;
END; //
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment