diff options
author | Robin Appelman <icewind@owncloud.com> | 2014-02-13 16:28:49 +0100 |
---|---|---|
committer | Robin Appelman <icewind@owncloud.com> | 2014-02-13 16:28:49 +0100 |
commit | 181bbd4325ea2b21ff8ecca93eb5ac839d6a739d (patch) | |
tree | 18fdd4bfdbd2de538ebe996e7ddb580a07450994 /lib/private/setup.php | |
parent | 4b84e3a7e8bf7dc0a8e62074803f97a81571ca22 (diff) | |
download | nextcloud-server-181bbd4325ea2b21ff8ecca93eb5ac839d6a739d.tar.gz nextcloud-server-181bbd4325ea2b21ff8ecca93eb5ac839d6a739d.zip |
Remove usage of legacy OC_Appconfig
Diffstat (limited to 'lib/private/setup.php')
-rw-r--r-- | lib/private/setup.php | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/lib/private/setup.php b/lib/private/setup.php index 5232398d1d7..17ef75bc7b5 100644 --- a/lib/private/setup.php +++ b/lib/private/setup.php @@ -94,10 +94,11 @@ class OC_Setup { } if(count($error) == 0) { - OC_Appconfig::setValue('core', 'installedat', microtime(true)); - OC_Appconfig::setValue('core', 'lastupdatedat', microtime(true)); - OC_AppConfig::setValue('core', 'remote_core.css', '/core/minimizer.php'); - OC_AppConfig::setValue('core', 'remote_core.js', '/core/minimizer.php'); + $appConfig = \OC::$server->getAppConfig(); + $appConfig->setValue('core', 'installedat', microtime(true)); + $appConfig->setValue('core', 'lastupdatedat', microtime(true)); + $appConfig->setValue('core', 'remote_core.css', '/core/minimizer.php'); + $appConfig->setValue('core', 'remote_core.js', '/core/minimizer.php'); OC_Group::createGroup('admin'); OC_Group::addToGroup($username, 'admin'); |