Skip to content
Snippets Groups Projects
Commit fa9deac8 authored by Aldo "xoen" Giambelluca's avatar Aldo "xoen" Giambelluca
Browse files

Call `saveConfiguration()` using self and fixed a typo

parent 97596be5
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment