summaryrefslogtreecommitdiff
path: root/Aktywator/Setting.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Aktywator/Setting.cs')
-rw-r--r--Aktywator/Setting.cs8
1 files changed, 8 insertions, 0 deletions
diff --git a/Aktywator/Setting.cs b/Aktywator/Setting.cs
index 613065f..bde6fd1 100644
--- a/Aktywator/Setting.cs
+++ b/Aktywator/Setting.cs
@@ -170,5 +170,13 @@ namespace Aktywator
{
}
}
+
+ public static void saveSectionGroups(Sql sql, bool value)
+ {
+ StringBuilder sb = new StringBuilder("UPDATE Tables SET `Group` = ");
+ sb.Append(value ? "1" : "`Section`");
+ sb.Append(";");
+ sql.query(sb.ToString());
+ }
}
}