From bafd684eb694ed0bd86b46ff7cd36382c1cebc34 Mon Sep 17 00:00:00 2001 From: Jakob Sack Date: Fri, 29 Jul 2011 21:36:03 +0200 Subject: Renaming classes :-) --- files/ajax/download.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'files/ajax/download.php') diff --git a/files/ajax/download.php b/files/ajax/download.php index 0b2f894a11b..2bbf1df4eca 100644 --- a/files/ajax/download.php +++ b/files/ajax/download.php @@ -25,13 +25,13 @@ require_once('../../lib/base.php'); // Check if we are a user -if( !OC_USER::isLoggedIn()){ - header( "Location: ".OC_HELPER::linkTo( "index.php" )); +if( !OC_User::isLoggedIn()){ + header( "Location: ".OC_Helper::linkTo( "index.php" )); exit(); } $files = $_GET["files"]; $dir = $_GET["dir"]; -OC_FILES::get($dir,$files); +OC_Files::get($dir,$files); ?> -- cgit v1.2.3