mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-07-26 01:34:09 -04:00
Move logging up to the controllers so that our logging can operate at a more meta level
This commit is contained in:
@@ -187,8 +187,6 @@ class user_Core {
|
||||
|
||||
user::set_active($user);
|
||||
module::event("user_login", $user);
|
||||
log::add("user", "User $user->name logged in",
|
||||
log::INFO, html::anchor("user/$user->id", $user->name));
|
||||
}
|
||||
|
||||
public static function logout() {
|
||||
@@ -200,8 +198,6 @@ class user_Core {
|
||||
Kohana::log("error", $e);
|
||||
}
|
||||
module::event("user_logout", $user);
|
||||
log::add("user", "User $user->name logged out",
|
||||
log::INFO, html::anchor("user/$user->id", $user->name));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user