File tree 1 file changed +1
-3
lines changed
cms-plugin/src/main/java/com/agiletec/plugins/jacms/apsadmin/content
1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change 19
19
import com .agiletec .aps .system .services .page .IPageManager ;
20
20
import com .agiletec .aps .system .services .pagemodel .IPageModelManager ;
21
21
import com .agiletec .aps .system .services .pagemodel .PageModel ;
22
- import com .agiletec .aps .system .services .user .UserDetails ;
23
22
import com .agiletec .aps .util .ApsWebApplicationUtils ;
24
23
import com .agiletec .aps .util .SelectItem ;
25
24
import com .agiletec .apsadmin .system .ApsAdminSystemConstants ;
@@ -140,7 +139,6 @@ public String copyPaste() {
140
139
}
141
140
142
141
public String forwardToEntryContent () {
143
- UserDetails user = this .getCurrentUser ();
144
142
Content content = this .updateContentOnSession ();
145
143
final String username = getCurrentUser ().getUsername ();
146
144
@@ -165,7 +163,7 @@ public String forwardToEntryContent() {
165
163
}
166
164
}
167
165
} catch (Exception e ) {
168
- _logger .error ("error setting default owner and join groups from user preferences" , e .getMessage ());
166
+ _logger .error ("error setting default owner and join groups from user preferences: {} " , e .getMessage ());
169
167
// made on purpose, we don't want to block content editing
170
168
return SUCCESS ;
171
169
}
You can’t perform that action at this time.
0 commit comments