summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2001-09-13 19:23:57 +0000
committerDries Buytaert <dries@buytaert.net>2001-09-13 19:23:57 +0000
commita5816d8fb816e10a091a8ae721179de32b4458bd (patch)
treee2322d501b9a9b682d2b5ced6530537e5a31d508
parente4b5f30abcc83f777c81e7aa39ebac946d51d632 (diff)
downloadbrdo-a5816d8fb816e10a091a8ae721179de32b4458bd.tar.gz
brdo-a5816d8fb816e10a091a8ae721179de32b4458bd.tar.bz2
- removed depricated file
-rw-r--r--updates/2.00-to-x.xx.php33
1 files changed, 0 insertions, 33 deletions
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 @@
-<?php
-print ("For now you will have to do the updates from the command line.");
-exit;
-
-include "includes/common.inc";
-
-db_query("DELETE FROM watchdog");
-db_query("DELETE FROM node");
-db_query("DELETE FROM story");
-db_query("DELETE FROM book");
-
-db_query("UPDATE comments SET type = 'story' WHERE type = 'stories'");
-
-$result = db_query("SELECT * FROM stories");
-while ($story = db_fetch_object($result)) {
- $node = array(title => $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