]> git.mxchange.org Git - friendica.git/commitdiff
Remove test code
authorMichael <heluecht@pirati.ca>
Sun, 31 Jul 2022 16:01:56 +0000 (16:01 +0000)
committerMichael <heluecht@pirati.ca>
Sun, 31 Jul 2022 16:01:56 +0000 (16:01 +0000)
src/Model/Item.php
src/Module/Api/Mastodon/PushSubscription.php

index b12eab94835cc30f576f9181ea2966924f6b0b25..91fd59d80603ec59bfb2865772b28a054906225a 100644 (file)
@@ -124,7 +124,7 @@ class Item
        // All fields in the item table
        const ITEM_FIELDLIST = ['id', 'uid', 'parent', 'uri', 'parent-uri', 'thr-parent',
                        'guid', 'uri-id', 'parent-uri-id', 'thr-parent-id', 'conversation', 'vid',
-                       'contact-id', 'wall', 'gravity', 'extid', 'psid', 
+                       'contact-id', 'wall', 'gravity', 'extid', 'psid',
                        'created', 'edited', 'commented', 'received', 'changed', 'verb',
                        'postopts', 'plink', 'resource-id', 'event-id', 'inform',
                        'allow_cid', 'allow_gid', 'deny_cid', 'deny_gid', 'post-type', 'post-reason',
index 9ddcfce36c9edadf923da3d98520f0a1ea26d92e..dc07ab55aa134e8efaa9c04600f9dc7887fb6a4e 100644 (file)
@@ -43,9 +43,7 @@ class PushSubscription extends BaseApi
                        'subscription' => [],
                        'data'         => [],
                ], $request);
-/*
-2022-07-31T08:08:11Z index [ERROR]: DB Error {"code":1366,"error":"Incorrect integer value: 'true' for column `piratica`.`subscription`.`follow` at row 1","callstack":"DBA::replace, Subscription::replace, PushSubscription::post, BaseModule::run, BaseApi::run, App::runFrontend","params":"REPLACE `subscription` (`application-id`, `uid`, `endpoint`, `pubkey`, `secret`, `follow`, `favourite`, `reblog`, `mention`, `poll`, `follow_request`, `status`) VALUES (213, 130, 'https://ntfy.sh/upNpejYKlqt5du?up=1', 'BEiGDNV6jsPwdtP186ZLbpqewcWBJHzM0qboxp8fVGoVxVUy6xiir_2RO4gM2FnE9sVg58sQdNuyDrr1jOmMj9Y', 'En7GzwQO8xuvXka5bIF3Sg', 'true', 'true', 'true', 'true', 'true', 0, 0)"} - {"file":"Database.php","line":801,"function":"e","uid":"c35eee","process_id":1404415}
-*/
+
                $subscription = [
                        'application-id'                => $application['id'],
                        'uid'                           => $uid,