]> git.mxchange.org Git - friendica.git/commitdiff
never enough comments
authorFriendika <info@friendika.com>
Wed, 10 Aug 2011 08:19:27 +0000 (01:19 -0700)
committerFriendika <info@friendika.com>
Wed, 10 Aug 2011 08:19:27 +0000 (01:19 -0700)
include/config.php
include/poller.php

index fe675bc33f38416b938b691aea8516571fba20ea..f565ab1178e6c2cb10708ae33bfb67272829b67d 100644 (file)
@@ -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')) {
index c88db6e6b594270fcdddb392b6b5de9689487771..611dd20bf0234f26934a2d22920dce1f0e8bfcca 100644 (file)
@@ -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) {