Skip to content

Commit 9f68483

Browse files
committed
remove unnecessary message
1 parent d2f4f87 commit 9f68483

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

adm_program/modules/profile/profile.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,6 @@ function ProfileJS(gRootPath) {
1313
this.formerRoleCount = 0;
1414
this.futureRoleCount = 0;
1515
this.userUuid = "";
16-
this.deleteRole_ConfirmText = "";
17-
this.deleteFRole_ConfirmText = "";
1816
this.errorID = 0;
1917

2018
this.reloadRoleMemberships = function () {

adm_program/modules/profile/profile.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,8 +96,6 @@ function getFieldCode(string $fieldNameIntern, User $user)
9696

9797
$page->addJavascript('
9898
var profileJS = new ProfileJS(gRootPath);
99-
profileJS.deleteRole_ConfirmText = "'.$gL10n->get('SYS_MEMBERSHIP_DELETE', array('[rol_name]')).'";
100-
profileJS.deleteFRole_ConfirmText = "'.$gL10n->get('SYS_LINK_MEMBERSHIP_DELETE', array('[rol_name]')).'";
10199
profileJS.userUuid = "'.$getUserUuid.'";
102100
103101
/**

0 commit comments

Comments
 (0)