diff options
Diffstat (limited to 'includes/section.inc')
-rw-r--r-- | includes/section.inc | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/includes/section.inc b/includes/section.inc deleted file mode 100644 index ad25b179c..000000000 --- a/includes/section.inc +++ /dev/null @@ -1,25 +0,0 @@ -<?php - -function section_get() { - $array = array(); - $result = db_query("SELECT name FROM sections"); - while ($section = db_fetch_object($result)) array_push($array, $section->name); - return $array; -} - -function section_post_threshold($section, $default) { - $section = db_fetch_object(db_query("SELECT post AS threshold FROM sections WHERE name = '". check_input($section) ."'")); - return $section->threshold ? $section->threshold : $default; -} - -function section_dump_threshold($section, $default) { - $section = db_fetch_object(db_query("SELECT dump AS threshold FROM sections WHERE name = '". check_input($section) ."'")); - return $section->threshold ? $section->threshold : $default; -} - -function section_timout_threshold($section, $default) { - $section = db_fetch_object(db_query("SELECT timout AS threshold FROM sections WHERE name = '". check_input($section) ."'")); - return $section->threshold ? $section->threshold : $default; -} - -?>
\ No newline at end of file |