Test stuff removed
This commit is contained in:
parent
d7212cbbbc
commit
0121c2845a
1 changed files with 0 additions and 1 deletions
|
@ -1108,7 +1108,6 @@ class PostUpdate
|
||||||
|
|
||||||
$posts = DBA::select('post-view', ['uri-id'], ['conversation' => './']);
|
$posts = DBA::select('post-view', ['uri-id'], ['conversation' => './']);
|
||||||
while ($post = DBA::fetch($posts)) {
|
while ($post = DBA::fetch($posts)) {
|
||||||
echo $post['uri-id'] . "\n";
|
|
||||||
$parent = Item::getParent($post['uri-id']);
|
$parent = Item::getParent($post['uri-id']);
|
||||||
if ($parent != 0) {
|
if ($parent != 0) {
|
||||||
DBA::update('post', ['parent-uri-id' => $parent], ['uri-id' => $post['uri-id']]);
|
DBA::update('post', ['parent-uri-id' => $parent], ['uri-id' => $post['uri-id']]);
|
||||||
|
|
Loading…
Reference in a new issue