mirror of
https://git.code.sf.net/p/seeddms/code
synced 2024-11-26 15:32:13 +00:00
allow to delete own processes
This commit is contained in:
parent
4f1bb55a89
commit
64a11add81
|
@ -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"])) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user