From 2fe646dcec08b36179aa2b6ebca447a20e409b03 Mon Sep 17 00:00:00 2001 From: Frank Karlitschek Date: Wed, 2 May 2012 00:50:26 +0200 Subject: ported the oc_app calls --- apps/contacts/import.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps/contacts/import.php') diff --git a/apps/contacts/import.php b/apps/contacts/import.php index 95f17a8896f..9355f8b9f70 100755 --- a/apps/contacts/import.php +++ b/apps/contacts/import.php @@ -19,7 +19,7 @@ if(is_writable('import_tmp/')){ } $view = $file = null; if(isset($_POST['fstype']) && $_POST['fstype'] == 'OC_FilesystemView') { - $view = OC_App::getStorage('contacts'); + $view = OCP\App::getStorage('contacts'); $file = $view->file_get_contents('/' . $_POST['file']); } else { $file = OC_Filesystem::file_get_contents($_POST['path'] . '/' . $_POST['file']); -- cgit v1.2.3 storage-merged'>27-shared-null-storage-merged Nextcloud server, a safe home for all your data: https://github.com/nextcloud/serverwww-data
summaryrefslogtreecommitdiffstats
path: root/.pre-commit-config.yaml
blob: da7428a64073fed0dd402e02345b32c51c724cd5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17