]> source.dussan.org Git - nextcloud-server.git/commitdiff
Call `saveConfiguration()` using self and fixed a typo
authorAldo "xoen" Giambelluca <xoen@xoen.org>
Mon, 12 Jul 2010 11:24:02 +0000 (13:24 +0200)
committerAldo "xoen" Giambelluca <xoen@xoen.org>
Mon, 12 Jul 2010 11:24:02 +0000 (13:24 +0200)
inc/lib_config.php

index af8f030786d7c07e0fc056d5def8daec9704105e..bb713019f245154878d9dc23cba70d1219fa2e68 100644 (file)
@@ -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;