]> git.mxchange.org Git - friendica.git/commitdiff
remove test logging
authorMichael <heluecht@pirati.ca>
Tue, 2 Feb 2021 05:53:55 +0000 (05:53 +0000)
committerMichael <heluecht@pirati.ca>
Tue, 2 Feb 2021 05:53:55 +0000 (05:53 +0000)
src/Model/Post.php

index 5cafdf25aea1623f9795ea80ba649d81948609ae..73742b3b22d531c2c4c3eb67f1bc96ff9bc4e18f 100644 (file)
@@ -457,13 +457,11 @@ class Post
 
                        $post_thread_condition[0] = "EXISTS(SELECT `id` FROM `post-user` WHERE " .
                                $post_thread_condition[0] . " AND `uri-id` = `post-thread-user`.`uri-id` AND `uid` = `post-thread-user`.`uid`)";
-                       Logger::info('Test2-start', ['condition' => $post_thread_condition]);
                                if (!DBA::update('post-thread-user', $update_fields, $post_thread_condition)) {
                                DBA::rollback();
                                Logger::notice('Updating post-thread-user failed', ['fields' => $update_fields, 'condition' => $condition]);
                                return false;
                        }
-                       Logger::info('Test2-end');
                        $affected = max($affected, DBA::affectedRows());
                }