allow to delete own processes

This commit is contained in:
Uwe Steinmann 2022-08-17 20:52:48 +02:00
parent 4f1bb55a89
commit 64a11add81

View File

@ -44,9 +44,9 @@ if (!is_object($rmuser)) {
UI::exitError(getMLText("rm_user"),getMLText("invalid_user_id"));
}
if ($rmuser->getID()==$user->getID()) {
UI::exitError(getMLText("rm_user"),getMLText("cannot_delete_yourself"));
}
//if ($rmuser->getID()==$user->getID()) {
// UI::exitError(getMLText("rm_user"),getMLText("cannot_delete_yourself"));
//}
$task = null;
if (isset($_GET["task"])) {