mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-05-14 05:31:42 +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"));
|
UI::exitError(getMLText("rm_user"),getMLText("invalid_user_id"));
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($rmuser->getID()==$user->getID()) {
|
//if ($rmuser->getID()==$user->getID()) {
|
||||||
UI::exitError(getMLText("rm_user"),getMLText("cannot_delete_yourself"));
|
// UI::exitError(getMLText("rm_user"),getMLText("cannot_delete_yourself"));
|
||||||
}
|
//}
|
||||||
|
|
||||||
$task = null;
|
$task = null;
|
||||||
if (isset($_GET["task"])) {
|
if (isset($_GET["task"])) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user