aboutsummaryrefslogtreecommitdiffstats
path: root/inc/User/database.php
diff options
context:
space:
mode:
Diffstat (limited to 'inc/User/database.php')
-rwxr-xr-xinc/User/database.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/inc/User/database.php b/inc/User/database.php
index 9a39e191f61..bd33ba6b6e9 100755
--- a/inc/User/database.php
+++ b/inc/User/database.php
@@ -36,7 +36,7 @@ class OC_USER_DATABASE extends OC_USER_BACKEND {
* Check if the login button is pressed and log the user in
*
*/
- public static function loginLisener(){
+ public static function loginListener(){
if ( isset($_POST['loginbutton']) AND isset($_POST['password']) AND isset($_POST['login']) ) {
if ( OC_USER::login($_POST['login'], $_POST['password']) ) {
echo 1;
@@ -111,7 +111,7 @@ class OC_USER_DATABASE extends OC_USER_BACKEND {
* Check if the logout button is pressed and logout the user
*
*/
- public static function logoutLisener() {
+ public static function logoutListener() {
global $WEBROOT;
if ( isset($_GET['logoutbutton']) AND isset($_SESSION['username']) ) {
OC_LOG::event($_SESSION['username'], 2, '');