summaryrefslogtreecommitdiff
path: root/include/db-prefs.php
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/db-prefs.php
parentbd3c38de849330b3ed28df05c1220c631c103628 (diff)
remove the rest of db.php; rename some leftover methods in feeds
Diffstat (limited to 'include/db-prefs.php')
-rw-r--r--include/db-prefs.php2
1 files changed, 0 insertions, 2 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);
}