]> git.mxchange.org Git - friendica.git/commitdiff
Priority and capitalisation
authorMichael <heluecht@pirati.ca>
Tue, 6 Feb 2018 16:32:00 +0000 (16:32 +0000)
committerMichael <heluecht@pirati.ca>
Tue, 6 Feb 2018 16:32:00 +0000 (16:32 +0000)
src/Model/Item.php

index 88efb6aa647c1c44b7b35ee80f86f80fc4ac82f3..cc42aafc61e83c2fd90ae0e66467e664280abce5 100644 (file)
@@ -178,7 +178,7 @@ class Item extends BaseObject
 
                // If it's the parent of a comment thread, kill all the kids
                if ($item['id'] == $item['parent']) {
-                       self::delete(['parent' => $item['parent']]);
+                       self::delete(['parent' => $item['parent']], $priority);
                }
 
                // send the notification upstream/downstream
@@ -1683,7 +1683,7 @@ class Item extends BaseObject
                                continue;
                        }
 
-                       self::deleteByID($item['id'], PRIORITY_LOW);
+                       self::deleteById($item['id'], PRIORITY_LOW);
                }
        }