We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c84f985 commit 3c6f2f2Copy full SHA for 3c6f2f2
classes/db-class.php
@@ -40,4 +40,16 @@ function deleteSetting($conn,$settingname){
40
}
41
42
43
+ function updateSetting($conn, $settingname, $settingvalue){
44
+ $this->deleteSetting($conn, $settingname);
45
+ $this->setSetting($conn, $settingname, $settingvalue);
46
+ return true;
47
+ }
48
+
49
+ function getBooleanSetting($conn, $setting) {
50
+ if (trim($this->getSetting($conn, $setting)) == "yes"){
51
52
53
+ return false;
54
55
0 commit comments