From: Arthur Schiwon Date: Wed, 11 Dec 2013 13:01:48 +0000 (+0100) Subject: coding style X-Git-Tag: v7.0.0alpha2~1034 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=f26ba5846d6859714e2f32f8f3625e57855ea703;p=nextcloud-server.git coding style --- diff --git a/lib/base.php b/lib/base.php index c2a07e47889..d361b7768f9 100644 --- a/lib/base.php +++ b/lib/base.php @@ -527,6 +527,7 @@ class OC { OC_User::useBackend(new OC_User_Database()); OC_Group::useBackend(new OC_Group_Database()); + if (isset($_SERVER['PHP_AUTH_USER']) && self::$session->exists('user_id') && $_SERVER['PHP_AUTH_USER'] !== self::$session->get('loginname')) { $sessionUser = self::$session->get('loginname');