summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2021-02-15 16:51:35 +0300
committerAndrew Dolgov <[email protected]>2021-02-15 16:51:35 +0300
commit9f55454f63b11ad8d2b2e0a8264a0f0dae919f6b (patch)
tree8757d966283e13100b6a0f84e09636407cf8d9d4 /include
parentbd3c38de849330b3ed28df05c1220c631c103628 (diff)
remove the rest of db.php; rename some leftover methods in feeds
Diffstat (limited to 'include')
-rw-r--r--include/db-prefs.php2
-rw-r--r--include/sessions.php1
2 files changed, 0 insertions, 3 deletions
diff --git a/include/db-prefs.php b/include/db-prefs.php
index 91235b479..ce5753638 100644
--- a/include/db-prefs.php
+++ b/include/db-prefs.php
@@ -1,6 +1,4 @@
<?php
- require_once "db.php";
-
function get_pref($pref_name, $user_id = false, $die_on_error = false) {
return Db_Prefs::get()->read($pref_name, $user_id, $die_on_error);
}
diff --git a/include/sessions.php b/include/sessions.php
index 3119a4e07..4de894c95 100644
--- a/include/sessions.php
+++ b/include/sessions.php
@@ -2,7 +2,6 @@
// Original from http://www.daniweb.com/code/snippet43.html
require_once "config.php";
- require_once "classes/db.php";
require_once "autoload.php";
require_once "errorhandler.php";
require_once "lib/gettext/gettext.inc.php";