aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-08-10 01:19:27 -0700
committerFriendika <info@friendika.com>2011-08-10 01:19:27 -0700
commitee6806d82b8a174f5922b396fbe473a8f3ed883f (patch)
tree56cc9c776de53f177fe7cea70dcb480dd9952680
parentcbfb40c43fd63d149ed3d4aa1b056bccb437cc32 (diff)
downloadvolse-hubzilla-ee6806d82b8a174f5922b396fbe473a8f3ed883f.tar.gz
volse-hubzilla-ee6806d82b8a174f5922b396fbe473a8f3ed883f.tar.bz2
volse-hubzilla-ee6806d82b8a174f5922b396fbe473a8f3ed883f.zip
never enough comments
-rw-r--r--include/config.php13
-rw-r--r--include/poller.php3
2 files changed, 15 insertions, 1 deletions
diff --git a/include/config.php b/include/config.php
index fe675bc33..f565ab117 100644
--- a/include/config.php
+++ b/include/config.php
@@ -1,5 +1,18 @@
<?php
+/**
+ *
+ * Arbitrary configuration storage
+ * Note:
+ * Please do not store booleans - convert to 0/1 integer values
+ * The get_?config() functions return boolean false for keys that are unset,
+ * and this could lead to subtle bugs.
+ *
+ * There are a few places in the code (such as the admin panel) where boolean
+ * configurations need to be fixed as of 10/08/2011.
+ */
+
+
// retrieve a "family" of config variables from database to cached storage
if(! function_exists('load_config')) {
diff --git a/include/poller.php b/include/poller.php
index c88db6e6b..611dd20bf 100644
--- a/include/poller.php
+++ b/include/poller.php
@@ -440,7 +440,8 @@ function poller_run($argv, $argc){
}
}
elseif($contact['network'] === NETWORK_FACEBOOK) {
- // TODO: work in progress
+ // This is picked up by the Facebook plugin on a cron hook.
+ // Ignored here.
}
if($xml) {