summaryrefslogtreecommitdiff
path: root/include/db-prefs.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2021-02-24 21:56:52 +0300
committerAndrew Dolgov <[email protected]>2021-02-24 21:56:52 +0300
commit93940d2a9f80d9e1dac49b5eb7db23230d31c5f6 (patch)
tree71016661f6017918d0934eb462bd9552018d557a /include/db-prefs.php
parent8b022c2bfb356d7dddaf334bc931d6dec77086fb (diff)
parent1adacd057230aea4ede29dab510385bf01cf99a3 (diff)
Merge branch 'master' of git.fakecake.org:fox/tt-rss into weblate-integration
Diffstat (limited to 'include/db-prefs.php')
-rw-r--r--include/db-prefs.php10
1 files changed, 0 insertions, 10 deletions
diff --git a/include/db-prefs.php b/include/db-prefs.php
deleted file mode 100644
index 91235b479..000000000
--- a/include/db-prefs.php
+++ /dev/null
@@ -1,10 +0,0 @@
-<?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);
- }
-
- function set_pref($pref_name, $value, $user_id = false, $strip_tags = true) {
- return Db_Prefs::get()->write($pref_name, $value, $user_id, $strip_tags);
- } \ No newline at end of file