Wrong function

https://github.com/owncloud/core/commit/2028c8116122f56d8087716e42162fdc
651819d3#commitcomment-1766755
This commit is contained in:
Lukas Reschke 2012-08-26 17:22:37 +02:00
parent 44f5033e29
commit 32bad688bd
3 changed files with 3 additions and 3 deletions

View File

@ -24,7 +24,7 @@
require_once('lib/impress.php');
OCP\User::checkLoggedIn();
OC_Util::checkAppEnabled('impress');
OCP\JSON::checkAppEnabled('impress');
OCP\App::setActiveNavigationEntry( 'impress_index' );

View File

@ -24,7 +24,7 @@
require_once('lib/impress.php');
OCP\User::checkLoggedIn();
OC_Util::checkAppEnabled('impress');
OCP\JSON::checkAppEnabled('impress');
OCP\App::setActiveNavigationEntry( 'impress_index' );

View File

@ -25,7 +25,7 @@ require_once('lib/impress.php');
// Check if we are a user
OCP\User::checkLoggedIn();
OC_Util::checkAppEnabled('impress');
OCP\JSON::checkAppEnabled('impress');
$filename = OCP\Util::sanitizeHTML($_GET['file']);
$title = OCP\Util::sanitizeHTML($_GET['name']);