summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZach Copley <zach@status.net>2010-03-26 19:48:07 +0000
committerZach Copley <zach@status.net>2010-03-26 19:48:07 +0000
commita9b130fc000638565a4cbc010fe13eeba37e90ff (patch)
tree173a1f53fb50d576624d8dc4f7eec79eaf5dc9b4
parent419c38cc0bf3f2649be9ad18e983b9f0ac8dfec0 (diff)
Revert "Make sure we return 'true' and 'false' strings for boolean vals in api/statusnet/config.:format"
This reverts commit 419c38cc0bf3f2649be9ad18e983b9f0ac8dfec0.
-rw-r--r--actions/apistatusnetconfig.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/actions/apistatusnetconfig.php b/actions/apistatusnetconfig.php
index 85564d574..66b23c02d 100644
--- a/actions/apistatusnetconfig.php
+++ b/actions/apistatusnetconfig.php
@@ -103,9 +103,9 @@ class ApiStatusnetConfigAction extends ApiAction
$value = common_config($section, $setting);
if (is_array($value)) {
$value = implode(',', $value);
- } else if ((bool)$value === false) {
+ } else if ($value === false) {
$value = 'false';
- } else if ((bool)$value === true) {
+ } else if ($value === true) {
$value = 'true';
}