Skip to content
Snippets Groups Projects
Commit 32bad688 authored by Lukas Reschke's avatar Lukas Reschke
Browse files

Wrong function

parent 44f5033e
Branches
No related tags found
No related merge requests found
...@@ -24,7 +24,7 @@ ...@@ -24,7 +24,7 @@
require_once('lib/impress.php'); require_once('lib/impress.php');
OCP\User::checkLoggedIn(); OCP\User::checkLoggedIn();
OC_Util::checkAppEnabled('impress'); OCP\JSON::checkAppEnabled('impress');
OCP\App::setActiveNavigationEntry( 'impress_index' ); OCP\App::setActiveNavigationEntry( 'impress_index' );
......
...@@ -24,7 +24,7 @@ ...@@ -24,7 +24,7 @@
require_once('lib/impress.php'); require_once('lib/impress.php');
OCP\User::checkLoggedIn(); OCP\User::checkLoggedIn();
OC_Util::checkAppEnabled('impress'); OCP\JSON::checkAppEnabled('impress');
OCP\App::setActiveNavigationEntry( 'impress_index' ); OCP\App::setActiveNavigationEntry( 'impress_index' );
......
...@@ -25,7 +25,7 @@ require_once('lib/impress.php'); ...@@ -25,7 +25,7 @@ require_once('lib/impress.php');
// Check if we are a user // Check if we are a user
OCP\User::checkLoggedIn(); OCP\User::checkLoggedIn();
OC_Util::checkAppEnabled('impress'); OCP\JSON::checkAppEnabled('impress');
$filename = OCP\Util::sanitizeHTML($_GET['file']); $filename = OCP\Util::sanitizeHTML($_GET['file']);
$title = OCP\Util::sanitizeHTML($_GET['name']); $title = OCP\Util::sanitizeHTML($_GET['name']);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment