1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-13 15:55:56 +00:00

remove the rest of db.php; rename some leftover methods in feeds

This commit is contained in:
Andrew Dolgov
2021-02-15 16:51:35 +03:00
parent bd3c38de84
commit 9f55454f63
11 changed files with 8 additions and 18 deletions

View File

@@ -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);
}