]> source.dussan.org Git - nextcloud-server.git/commitdiff
Changed spelling of lisener to listener
authorAaron Reichman <areichman.kde@gmail.com>
Sat, 13 Mar 2010 21:34:46 +0000 (13:34 -0800)
committerAaron Reichman <areichman.kde@gmail.com>
Sat, 13 Mar 2010 21:34:46 +0000 (13:34 -0800)
inc/lib_base.php
index.php

index 1ae2bdab877250b612c01d724260dcfc66da58f0..9419226aca6ca343edcab0c244b9b5461b5fb3ae 100755 (executable)
@@ -57,7 +57,7 @@ class OC_USER {
    * check if the login button is pressed and logg the user in
    *
    */
-  public static function loginlisener(){
+  public static function loginlistener(){
     global $CONFIG_ADMINLOGIN;
     global $CONFIG_ADMINPASSWORD;
     if(isset($_POST['loginbutton']) and isset($_POST['password']) and isset($_POST['login'])){
@@ -74,7 +74,7 @@ class OC_USER {
    * check if the logout button is pressed and logout the user
    *
    */
-  public static function logoutlisener(){
+  public static function logoutlistener(){
     if(isset($_GET['logoutbutton'])){
       OC_LOG::event($_SESSION['username'],2,'');
       if(isset($_SESSION['username'])) unset($_SESSION['username']);
index 5f7eb8e12baae5bfabf8a87c3f08bfff0a59a709..ffe66e41953e2a7ceccb642b90528c8b0458ae69 100755 (executable)
--- a/index.php
+++ b/index.php
@@ -32,8 +32,8 @@ if(isset($_GET['file'])) {
 
 }else{
 
-  OC_USER::loginlisener();
-  OC_USER::logoutlisener();
+  OC_USER::loginlistener();
+  OC_USER::logoutlistener();
 
   OC_UTIL::showheader();