]> source.dussan.org Git - nextcloud-server.git/commitdiff
Wrong function
authorLukas Reschke <lukas@statuscode.ch>
Sun, 26 Aug 2012 15:22:37 +0000 (17:22 +0200)
committerLukas Reschke <lukas@statuscode.ch>
Sun, 26 Aug 2012 15:22:41 +0000 (17:22 +0200)
https://github.com/owncloud/core/commit/2028c8116122f56d8087716e42162fdc
651819d3#commitcomment-1766755

apps/impress/documentation.php
apps/impress/index.php
apps/impress/player.php

index 5a153deb4c2df8dd042fe46214452f4fe9489d13..1047262a677a5882878c20047a93597bb9300a1d 100755 (executable)
@@ -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' );
 
 
index 59960ba96fa5ccee29e1b0f218384cfbd3759455..8648cb27e7b59b8a9412cda70664ca1cfb37cb6a 100755 (executable)
@@ -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' );
 
 
index 074badf5df465ab75e8a0f86084d4669485ed1ea..1f2423d856fd5c76669f86b2455059a40047ce86 100755 (executable)
@@ -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']);