diff options
author | Frank Karlitschek <frank@owncloud.org> | 2012-05-02 19:08:37 +0200 |
---|---|---|
committer | Frank Karlitschek <frank@owncloud.org> | 2012-05-02 19:08:37 +0200 |
commit | 4fe90f62f4041d31402cbe198fd0e3edce77ce13 (patch) | |
tree | 2320a5fabe2e5347c04472af1cc95a6eb056369f /apps/calendar/ajax | |
parent | eec7c3833c9c1f1e83549474d6ba4b34ce307761 (diff) | |
download | nextcloud-server-4fe90f62f4041d31402cbe198fd0e3edce77ce13.tar.gz nextcloud-server-4fe90f62f4041d31402cbe198fd0e3edce77ce13.zip |
port checkAppEnabled
Diffstat (limited to 'apps/calendar/ajax')
-rwxr-xr-x[-rw-r--r--] | apps/calendar/ajax/import/dialog.php | 2 | ||||
-rwxr-xr-x | apps/calendar/ajax/import/import.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/apps/calendar/ajax/import/dialog.php b/apps/calendar/ajax/import/dialog.php index 0c1a8f94943..9ee989c0dee 100644..100755 --- a/apps/calendar/ajax/import/dialog.php +++ b/apps/calendar/ajax/import/dialog.php @@ -8,7 +8,7 @@ OC_JSON::checkLoggedIn(); -OC_Util::checkAppEnabled('calendar'); +OCP\App::checkAppEnabled('calendar'); $tmpl = new OC_Template('calendar', 'part.import'); $tmpl->assign('path', $_POST['path']); $tmpl->assign('filename', $_POST['filename']); diff --git a/apps/calendar/ajax/import/import.php b/apps/calendar/ajax/import/import.php index eda34099aba..43dfb5493fc 100755 --- a/apps/calendar/ajax/import/import.php +++ b/apps/calendar/ajax/import/import.php @@ -8,7 +8,7 @@ //check for calendar rights or create new one ob_start(); OC_JSON::checkLoggedIn(); -OC_Util::checkAppEnabled('calendar'); +OCP\App::checkAppEnabled('calendar'); $nl="\r\n"; $comps = array('VEVENT'=>true, 'VTODO'=>true, 'VJOURNAL'=>true); $progressfile = 'import_tmp/' . md5(session_id()) . '.txt'; |