forked from Cavemanon/cavepaintings
remove user enable / disable, as the feature was ass, and better handled elsewhere :|
git-svn-id: file:///home/shish/svn/shimmie2/trunk@749 7f39781d-f577-437e-ae19-be835c7a54ca
This commit is contained in:
@@ -470,7 +470,7 @@ function _get_user() {
|
||||
$user = null;
|
||||
if(isset($_COOKIE["shm_user"]) && isset($_COOKIE["shm_session"])) {
|
||||
$tmp_user = $database->get_user_session($_COOKIE["shm_user"], $_COOKIE["shm_session"]);
|
||||
if(!is_null($tmp_user) && $tmp_user->is_enabled()) {
|
||||
if(!is_null($tmp_user)) {
|
||||
$user = $tmp_user;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user