summaryrefslogtreecommitdiffstats
path: root/apps/files/ajax/list.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files/ajax/list.php')
-rwxr-xr-xapps/files/ajax/list.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/files/ajax/list.php b/apps/files/ajax/list.php
index 0bff5742ef4..520e54e708d 100755
--- a/apps/files/ajax/list.php
+++ b/apps/files/ajax/list.php
@@ -6,7 +6,7 @@ $RUNTIME_APPTYPES=array('filesystem');
// Init owncloud
-OC_JSON::checkLoggedIn();
+OCP\JSON::checkLoggedIn();
// Load the files
$dir = isset( $_GET['dir'] ) ? $_GET['dir'] : '';
@@ -41,6 +41,6 @@ $list = new OC_Template( "files", "part.list", "" );
$list->assign( "files", $files );
$data = array('files' => $list->fetchPage());
-OC_JSON::success(array('data' => $data));
+OCP\JSON::success(array('data' => $data));
?>