mirror of
https://bitbucket.org/wisemapping/wisemapping-open-source.git
synced 2024-11-21 13:47:57 +01:00
Remove unused context variables.
This commit is contained in:
parent
d0a03ad2a3
commit
d217768b83
@ -83,7 +83,6 @@ public class MindmapController {
|
||||
if (!readOnlyMode) {
|
||||
final LockManager lockManager = this.mindmapService.getLockManager();
|
||||
if (lockManager.isLocked(mindmap) && !lockManager.isLockedBy(mindmap, collaborator)) {
|
||||
readOnlyMode = true;
|
||||
isLocked = true;
|
||||
} else {
|
||||
model.addAttribute("lockTimestamp", mindmap.getLastModificationTime().getTimeInMillis());
|
||||
@ -97,7 +96,6 @@ public class MindmapController {
|
||||
// Configure default locale for the editor ...
|
||||
model.addAttribute("locale", locale.toString().toLowerCase());
|
||||
model.addAttribute("principal", collaborator);
|
||||
model.addAttribute("readOnlyMode", readOnlyMode);
|
||||
model.addAttribute("memoryPersistence", false);
|
||||
model.addAttribute("mindmapLocked", isLocked);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user