summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
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