]> git.mxchange.org Git - friendica.git/commitdiff
Remove unneeded logging
authorMichael <heluecht@pirati.ca>
Wed, 27 Jun 2018 20:08:02 +0000 (20:08 +0000)
committerMichael <heluecht@pirati.ca>
Wed, 27 Jun 2018 20:08:02 +0000 (20:08 +0000)
src/Worker/OnePoll.php

index f3784d3ffa3367b12896c89f54a42860a98b374d..423ce17414d0529571052241e2852c364e0c1f79 100644 (file)
@@ -442,10 +442,7 @@ class OnePoll
                                                                $condition = ['uri' => $refs_arr, 'uid' => $importer_uid];
                                                                $parent = Item::selectFirst(['parent-uri'], $condition);
                                                                if (DBM::is_result($parent)) {
-                                                                       logger('Parent found with matching uri. ' . json_encode($refs_arr), LOGGER_DEBUG);
                                                                        $datarray['parent-uri'] = $parent['parent-uri'];  // Set the parent as the top-level item
-                                                               } else {
-                                                                       logger('No parent found with matching uri. ' . json_encode($refs_arr), LOGGER_DEBUG);
                                                                }
                                                        }
 
@@ -478,10 +475,7 @@ class OnePoll
                                                                $params = ['order' => ['created' => true]];
                                                                $parent = Item::selectFirst(['parent-uri'], $condition, $params);
                                                                if (DBM::is_result($parent)) {
-                                                                       logger('Parent found with matching title. ' . $datarray['title'], LOGGER_DEBUG);
                                                                        $datarray['parent-uri'] = $parent['parent-uri'];
-                                                               } else {
-                                                                       logger('No parent found with matching title. ' . $datarray['title'], LOGGER_DEBUG);
                                                                }
                                                        }