aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/sessions.php
diff options
context:
space:
mode:
Diffstat (limited to 'engine/lib/sessions.php')
-rw-r--r--engine/lib/sessions.php10
1 files changed, 0 insertions, 10 deletions
diff --git a/engine/lib/sessions.php b/engine/lib/sessions.php
index 887904371..05258243f 100644
--- a/engine/lib/sessions.php
+++ b/engine/lib/sessions.php
@@ -51,9 +51,6 @@ function get_loggedin_userid() {
* @return bool
*/
function isloggedin() {
- if (!is_installed()) {
- return false;
- }
$user = get_loggedin_user();
@@ -71,9 +68,6 @@ function isloggedin() {
* @return bool
*/
function isadminloggedin() {
- if (!is_installed()) {
- return FALSE;
- }
$user = get_loggedin_user();
@@ -390,10 +384,6 @@ function logout() {
function session_init($event, $object_type, $object) {
global $DB_PREFIX, $CONFIG;
- if (!is_db_installed()) {
- return false;
- }
-
// Use database for sessions
// HACK to allow access to prefix after object destruction
$DB_PREFIX = $CONFIG->dbprefix;