remove ambiguous database->get_user(...)

git-svn-id: file:///home/shish/svn/shimmie2/trunk@263 7f39781d-f577-437e-ae19-be835c7a54ca
This commit is contained in:
shish
2007-07-12 07:37:32 +00:00
parent 3e0d983102
commit c6b7c9bb83
4 changed files with 3 additions and 12 deletions

View File

@@ -389,7 +389,7 @@ function _get_user() {
}
if(is_null($user)) {
$user = $database->get_user($config->get_int("anon_id", 0));
$user = $database->get_user_by_id($config->get_int("anon_id", 0));
}
assert(!is_null($user));
return $user;