ttrss/classes/db/prefs.php

13 lines
342 B
PHP
Raw Normal View History

2013-04-18 08:00:01 +00:00
<?php
class Db_Prefs {
// this class is a stub for the time being (to be removed)
2013-04-18 08:00:01 +00:00
function read($pref_name, $user_id = false, $die_on_error = false) {
return get_pref($pref_name, $user_id);
2013-04-18 08:00:01 +00:00
}
function write($pref_name, $value, $user_id = false, $strip_tags = true) {
return set_pref($pref_name, $value, $user_id, $strip_tags);
2013-04-18 08:00:01 +00:00
}
2017-04-26 21:24:17 +00:00
}