projects
/
fms.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
version 0.1.12
[fms.git]
/
src
/
global.cpp
diff --git
a/src/global.cpp
b/src/global.cpp
index
7f63579
..
0c6f913
100644
(file)
--- a/
src/global.cpp
+++ b/
src/global.cpp
@@
-343,6
+343,12
@@
void SetupDB()
DELETE FROM tblTrustListInserts WHERE LocalIdentityID=old.LocalIdentityID;\
\r
END;");
\r
\r
DELETE FROM tblTrustListInserts WHERE LocalIdentityID=old.LocalIdentityID;\
\r
END;");
\r
\r
+ db->Execute("CREATE TRIGGER IF NOT EXISTS trgDeleteBoard AFTER DELETE ON tblBoard \
\r
+ FOR EACH ROW \
\r
+ BEGIN \
\r
+ DELETE FROM tblMessageBoard WHERE BoardID=old.BoardID;\
\r
+ END;");
\r
+
\r
// delete introduction puzzles that were half-way inserted
\r
db->Execute("DELETE FROM tblIntroductionPuzzleInserts WHERE Day IS NULL AND InsertIndex IS NULL;");
\r
\r
// delete introduction puzzles that were half-way inserted
\r
db->Execute("DELETE FROM tblIntroductionPuzzleInserts WHERE Day IS NULL AND InsertIndex IS NULL;");
\r
\r
@@
-565,6
+571,12
@@
void SetupDefaultOptions()
st.Step();
\r
st.Reset();
\r
\r
st.Step();
\r
st.Reset();
\r
\r
+ st.Bind(0,"ChangeMessageTrustOnReply");
\r
+ st.Bind(1,"0");
\r
+ st.Bind(2,"How much the local message trust level of an identity should change when you reply to one of their messages.");
\r
+ st.Step();
\r
+ st.Reset();
\r
+
\r
}
\r
\r
void SetupLogFile()
\r
}
\r
\r
void SetupLogFile()
\r