summaryrefslogtreecommitdiffstats
path: root/apps/calendar
diff options
context:
space:
mode:
authorFrank Karlitschek <frank@owncloud.org>2012-05-02 14:11:29 +0200
committerFrank Karlitschek <frank@owncloud.org>2012-05-02 14:11:29 +0200
commitff66600bc060dd2713b88b4af88e5a0a291710e0 (patch)
treec1b796ddf938025ac1cc31d0f8414c55a31840aa /apps/calendar
parent8e99475886fa3fc23dd576cce7eaefd532c3fe5c (diff)
downloadnextcloud-server-ff66600bc060dd2713b88b4af88e5a0a291710e0.tar.gz
nextcloud-server-ff66600bc060dd2713b88b4af88e5a0a291710e0.zip
port appconfig
Diffstat (limited to 'apps/calendar')
-rwxr-xr-x[-rw-r--r--]apps/calendar/appinfo/update.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/calendar/appinfo/update.php b/apps/calendar/appinfo/update.php
index 375816a403e..9f52f91392d 100644..100755
--- a/apps/calendar/appinfo/update.php
+++ b/apps/calendar/appinfo/update.php
@@ -1,6 +1,6 @@
<?php
-$installedVersion=OC_Appconfig::getValue('calendar', 'installed_version');
+$installedVersion=OCP\Config::getAppValue('calendar', 'installed_version');
if (version_compare($installedVersion, '0.2.1', '<')) {
$stmt = OC_DB::prepare( 'SELECT id, calendarcolor FROM *PREFIX*calendar_calendars WHERE calendarcolor IS NOT NULL' );
$result = $stmt->execute();