summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2001-03-24 16:56:10 +0000
committerDries Buytaert <dries@buytaert.net>2001-03-24 16:56:10 +0000
commit93f66c06d3658361beee54ea9e7f2be57f5e219b (patch)
tree94322f28aee6c782ef7e299e5a2e1d99b14ccbcd /includes
parenta9222fe22279a087db5664585ae4381bd0e1f876 (diff)
downloadbrdo-93f66c06d3658361beee54ea9e7f2be57f5e219b.tar.gz
brdo-93f66c06d3658361beee54ea9e7f2be57f5e219b.tar.bz2
- added nodified story module: story extends node
- removed includes/story.inc as we no longer need it: story.module is *really* modular now.
Diffstat (limited to 'includes')
-rw-r--r--includes/story.inc19
1 files changed, 0 insertions, 19 deletions
diff --git a/includes/story.inc b/includes/story.inc
deleted file mode 100644
index dff58a4a1..000000000
--- a/includes/story.inc
+++ /dev/null
@@ -1,19 +0,0 @@
-<?php
-
-class Story {
- function Story($userid, $subject, $abstract, $article, $section, $timestamp) {
- $this->userid = $userid;
- $this->subject = $subject;
- $this->abstract = $abstract;
- $this->article = $article;
- $this->section = $section;
- $this->timestamp = $timestamp;
- }
-}
-
-function story_visible($story) {
- global $user;
- return ($story->status == 2) || ($story->status == 1 && $user->id) || user_access($user, "story");
-}
-
-?> \ No newline at end of file