summaryrefslogtreecommitdiff
path: root/include/db-prefs.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2021-02-22 23:25:14 +0300
committerAndrew Dolgov <[email protected]>2021-02-22 23:25:14 +0300
commit29ada58b4ac06178c908869e0bb078949e1cb465 (patch)
tree9b51fb212510fccb0c0898d59b631f94eeae9387 /include/db-prefs.php
parent77e6d589ffdf4ddb381f0b63b319e59bacfff1e8 (diff)
move db-prefs shortcut functions to functions.php
Diffstat (limited to 'include/db-prefs.php')
-rw-r--r--include/db-prefs.php8
1 files changed, 0 insertions, 8 deletions
diff --git a/include/db-prefs.php b/include/db-prefs.php
deleted file mode 100644
index ce5753638..000000000
--- a/include/db-prefs.php
+++ /dev/null
@@ -1,8 +0,0 @@
-<?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