Wrong function
https://github.com/owncloud/core/commit/2028c8116122f56d8087716e42162fdc 651819d3#commitcomment-1766755
This commit is contained in:
parent
44f5033e29
commit
32bad688bd
3 changed files with 3 additions and 3 deletions
|
@ -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' );
|
||||
|
||||
|
||||
|
|
|
@ -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' );
|
||||
|
||||
|
||||
|
|
|
@ -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']);
|
||||
|
|
Loading…
Reference in a new issue