You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
342 B
PHP
13 lines
342 B
PHP
<?php
|
|
class Db_Prefs {
|
|
// this class is a stub for the time being (to be removed)
|
|
|
|
function read($pref_name, $user_id = false, $die_on_error = false) {
|
|
return get_pref($pref_name, $user_id);
|
|
}
|
|
|
|
function write($pref_name, $value, $user_id = false, $strip_tags = true) {
|
|
return set_pref($pref_name, $value, $user_id, $strip_tags);
|
|
}
|
|
}
|