aboutsummaryrefslogtreecommitdiffstats
path: root/inc/lib_config.php
diff options
context:
space:
mode:
Diffstat (limited to 'inc/lib_config.php')
-rw-r--r--inc/lib_config.php12
1 files changed, 6 insertions, 6 deletions
diff --git a/inc/lib_config.php b/inc/lib_config.php
index d5f0f2270fb..6863146cde9 100644
--- a/inc/lib_config.php
+++ b/inc/lib_config.php
@@ -45,7 +45,7 @@ class OC_CONFIG{
}
}
- public static function createUserLisener(){
+ public static function createUserListener(){
if(OC_USER::isLoggedIn()){
if(OC_USER::ingroup($_SESSION['username'],'admin')){
if(isset($_POST['new_username']) and isset($_POST['new_password'])){
@@ -63,7 +63,7 @@ class OC_CONFIG{
}
}
- public static function createGroupLisener(){
+ public static function createGroupListener(){
if(OC_USER::isLoggedIn()){
if(isset($_POST['creategroup']) and $_POST['creategroup']==1){
if(OC_USER::creategroup($_POST['groupname'])){
@@ -81,10 +81,10 @@ class OC_CONFIG{
/**
- * lisen for configuration changes
+ * listen for configuration changes
*
*/
- public static function configLisener(){
+ public static function configListener(){
if(OC_USER::isLoggedIn()){
if(isset($_POST['config']) and $_POST['config']==1){
$error='';
@@ -139,10 +139,10 @@ class OC_CONFIG{
}
/**
- * lisen for admin configuration changes and write it to the file
+ * listen for admin configuration changes and write it to the file
*4bd0be1185e76
*/
- public static function writeAdminLisener(){
+ public static function writeAdminListener(){
global $CONFIG_INSTALLED;
$allow=false;
if(!$CONFIG_INSTALLED){