aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/sessions.php
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-10-30 21:53:58 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-10-30 21:53:58 +0000
commit9795d6a9451c98ae9ea624d4513c3d9c28a78d1a (patch)
treecf45d7b1eb78bdb83a2d317c416d0b9059ead2fb /engine/lib/sessions.php
parentc27eac2d2a970e76a1204757bbe15da8efb2870c (diff)
downloadelgg-9795d6a9451c98ae9ea624d4513c3d9c28a78d1a.tar.gz
elgg-9795d6a9451c98ae9ea624d4513c3d9c28a78d1a.tar.bz2
ripped out last remaining tentacles of old installer from core - just needs removal of install.php when elgg_view() is updated
git-svn-id: http://code.elgg.org/elgg/trunk@7141 36083f99-b078-4883-b0ff-0f9b5a30f544
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;