Automated build for v0.01
This commit is contained in:
commit
791b998489
2771 changed files with 222096 additions and 0 deletions
10
include/db-prefs.php
Normal file
10
include/db-prefs.php
Normal file
|
@ -0,0 +1,10 @@
|
|||
<?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);
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue