aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAldo "xoen" Giambelluca <xoen@xoen.org>2010-07-12 13:24:02 +0200
committerAldo "xoen" Giambelluca <xoen@xoen.org>2010-07-12 13:24:02 +0200
commitfa9deac833bf82d031b4a62fc2f298da4bbff6cb (patch)
tree65ca3d50a8664e2e82f1f8e6c7940493cbc0e5c7
parent97596be52eb3e437603508b3efa8695549ec1508 (diff)
downloadnextcloud-server-fa9deac833bf82d031b4a62fc2f298da4bbff6cb.tar.gz
nextcloud-server-fa9deac833bf82d031b4a62fc2f298da4bbff6cb.zip
Call `saveConfiguration()` using self and fixed a typo
-rw-r--r--inc/lib_config.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/inc/lib_config.php b/inc/lib_config.php
index af8f030786d..bb713019f24 100644
--- a/inc/lib_config.php
+++ b/inc/lib_config.php
@@ -117,7 +117,7 @@ class OC_CONFIG{
* - the key is the option name without the 'CONFIG_' prefix
* - the value is a string or a boolean
*
- * @param array $configuration is an associarive array
+ * @param array $configuration is an associative array
*/
protected static function saveConfiguration($configuration) {
global $SERVERROOT;
@@ -283,7 +283,7 @@ class OC_CONFIG{
header("Location: $WEBROOT/");
try {
// Write the configuration array to `/config/config.php`
- OC_CONFIG::saveConfiguration($config);
+ self::saveConfiguration($config);
} catch ( Exception $e ) {
$error.='error while trying to save the configuration file<br/>';
return $error;