summaryrefslogtreecommitdiffstats
path: root/lib/user.php
diff options
context:
space:
mode:
authorRobin Appelman <icewind1991@gmail.com>2011-08-10 12:36:32 +0200
committerRobin Appelman <icewind1991@gmail.com>2011-08-10 14:03:54 +0200
commit1f1498ceca51c5b30130b80a59c00c1b37dc7009 (patch)
tree49a82acb3e48197ff43b915293b6c89acf82bd3e /lib/user.php
parentcdf91b6b3e0f6d9fc435497b9dcc051ff24d6c7e (diff)
downloadnextcloud-server-1f1498ceca51c5b30130b80a59c00c1b37dc7009.tar.gz
nextcloud-server-1f1498ceca51c5b30130b80a59c00c1b37dc7009.zip
remove Log completely
Diffstat (limited to 'lib/user.php')
-rw-r--r--lib/user.php2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/user.php b/lib/user.php
index 9b8f5fb13e7..a2ede8234be 100644
--- a/lib/user.php
+++ b/lib/user.php
@@ -193,7 +193,6 @@ class OC_User {
if( $run && self::checkPassword( $uid, $password )){
$_SESSION['user_id'] = $uid;
- OC_Log::add( "core", $_SESSION['user_id'], "login" );
OC_Hook::emit( "OC_User", "post_login", array( "uid" => $uid ));
return true;
}
@@ -210,7 +209,6 @@ class OC_User {
*/
public static function logout(){
OC_Hook::emit( "OC_User", "logout", array());
- OC_Log::add( "core", $_SESSION['user_id'], "logout" );
$_SESSION['user_id'] = false;
return true;
}