Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
solo-1
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
solo-1
Commits
c38f65ef
Commit
c38f65ef
authored
Feb 18, 2017
by
Liang Ding
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
🐛
Fix #12248
parent
b95c41ac
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
9 deletions
+1
-9
src/main/java/org/b3log/solo/service/PreferenceMgmtService.java
...in/java/org/b3log/solo/service/PreferenceMgmtService.java
+1
-9
No files found.
src/main/java/org/b3log/solo/service/PreferenceMgmtService.java
View file @
c38f65ef
...
...
@@ -48,7 +48,7 @@ import static org.b3log.solo.util.Skins.setDirectoryForTemplateLoading;
* Preference management service.
*
* @author <a href="http://88250.b3log.org">Liang Ding</a>
* @version 1.3.
1.11, Nov 23, 2015
* @version 1.3.
2.11, Feb 18, 2017
* @since 0.4.0
*/
@Service
...
...
@@ -355,14 +355,6 @@ public class PreferenceMgmtService {
relevantArticlesDisplayCountOpt
.
put
(
Option
.
OPTION_VALUE
,
preference
.
optString
(
Option
.
ID_C_RELEVANT_ARTICLES_DISPLAY_CNT
));
optionRepository
.
update
(
Option
.
ID_C_RELEVANT_ARTICLES_DISPLAY_CNT
,
relevantArticlesDisplayCountOpt
);
final
JSONObject
replyNotiTplBodyOpt
=
optionRepository
.
get
(
Option
.
ID_C_REPLY_NOTI_TPL_BODY
);
replyNotiTplBodyOpt
.
put
(
Option
.
OPTION_VALUE
,
preference
.
optString
(
Option
.
ID_C_REPLY_NOTI_TPL_BODY
));
optionRepository
.
update
(
Option
.
ID_C_REPLY_NOTI_TPL_BODY
,
replyNotiTplBodyOpt
);
final
JSONObject
replyNotiTplSubjectOpt
=
optionRepository
.
get
(
Option
.
ID_C_REPLY_NOTI_TPL_SUBJECT
);
replyNotiTplSubjectOpt
.
put
(
Option
.
OPTION_VALUE
,
preference
.
optString
(
Option
.
ID_C_REPLY_NOTI_TPL_SUBJECT
));
optionRepository
.
update
(
Option
.
ID_C_REPLY_NOTI_TPL_SUBJECT
,
replyNotiTplSubjectOpt
);
final
JSONObject
signsOpt
=
optionRepository
.
get
(
Option
.
ID_C_SIGNS
);
signsOpt
.
put
(
Option
.
OPTION_VALUE
,
preference
.
optString
(
Option
.
ID_C_SIGNS
));
optionRepository
.
update
(
Option
.
ID_C_SIGNS
,
signsOpt
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment