summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorLukas Reschke <lukas@statuscode.ch>2012-08-26 17:22:37 +0200
committerLukas Reschke <lukas@statuscode.ch>2012-08-26 17:22:41 +0200
commit32bad688bdb4fea55eba9d4255fc55f1c60a0aca (patch)
tree9058631d4d3ee042ed218abe59222c896be62e2a /apps
parent44f5033e290438ac7c09a0a345da4a68ff146c85 (diff)
downloadnextcloud-server-32bad688bdb4fea55eba9d4255fc55f1c60a0aca.tar.gz
nextcloud-server-32bad688bdb4fea55eba9d4255fc55f1c60a0aca.zip
Wrong function
https://github.com/owncloud/core/commit/2028c8116122f56d8087716e42162fdc 651819d3#commitcomment-1766755
Diffstat (limited to 'apps')
-rwxr-xr-xapps/impress/documentation.php2
-rwxr-xr-xapps/impress/index.php2
-rwxr-xr-xapps/impress/player.php2
3 files changed, 3 insertions, 3 deletions
diff --git a/apps/impress/documentation.php b/apps/impress/documentation.php
index 5a153deb4c2..1047262a677 100755
--- a/apps/impress/documentation.php
+++ b/apps/impress/documentation.php
@@ -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' );
diff --git a/apps/impress/index.php b/apps/impress/index.php
index 59960ba96fa..8648cb27e7b 100755
--- a/apps/impress/index.php
+++ b/apps/impress/index.php
@@ -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' );
diff --git a/apps/impress/player.php b/apps/impress/player.php
index 074badf5df4..1f2423d856f 100755
--- a/apps/impress/player.php
+++ b/apps/impress/player.php
@@ -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']);