From a5816d8fb816e10a091a8ae721179de32b4458bd Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Thu, 13 Sep 2001 19:23:57 +0000 Subject: - removed depricated file --- updates/2.00-to-x.xx.php | 33 --------------------------------- 1 file changed, 33 deletions(-) delete mode 100644 updates/2.00-to-x.xx.php diff --git a/updates/2.00-to-x.xx.php b/updates/2.00-to-x.xx.php deleted file mode 100644 index 56547d0f7..000000000 --- a/updates/2.00-to-x.xx.php +++ /dev/null @@ -1,33 +0,0 @@ - $story->subject, abstract => $story->abstract, body => $story->article, section => $story->section, timestamp => $story->timestamp, votes => $story->votes, score => $stort->score, author => $story->author, type => "story"); - if ($story->status == 2) $node[status] = $status[posted]; - if ($story->status == 1) $node[status] = $status[queued]; - if ($story->status == 0) $node[status] = $status[dumped]; - node_save($node); -} - -$result = db_query("SELECT * FROM faqs"); -while ($faq = db_fetch_object($result)) { - $node = array(title => $faq->question, author => 1, body => $faq->answer, weight => $faq->weight, status => $status[posted], type => "book"); - node_save($node); -} - -db_query("update users set history = ''"); - -print "Your database has been upgraded! Do NOT reload this page!"; - -?> \ No newline at end of file -- cgit v1.2.3