summaryrefslogtreecommitdiffstats
path: root/help/index.php
diff options
context:
space:
mode:
authorJakob Sack <kde@jakobsack.de>2011-07-29 21:36:03 +0200
committerJakob Sack <kde@jakobsack.de>2011-07-29 21:36:03 +0200
commitbafd684eb694ed0bd86b46ff7cd36382c1cebc34 (patch)
treec3bb1e013d563263002d052eb41032076a36a5f9 /help/index.php
parent220132ca237f5077f5145bf327e8528a652ad559 (diff)
downloadnextcloud-server-bafd684eb694ed0bd86b46ff7cd36382c1cebc34.tar.gz
nextcloud-server-bafd684eb694ed0bd86b46ff7cd36382c1cebc34.zip
Renaming classes :-)
Diffstat (limited to 'help/index.php')
-rw-r--r--help/index.php12
1 files changed, 6 insertions, 6 deletions
diff --git a/help/index.php b/help/index.php
index adcb47f08f6..f1adea0be01 100644
--- a/help/index.php
+++ b/help/index.php
@@ -1,8 +1,8 @@
<?php
require_once('../lib/base.php');
-if( !OC_USER::isLoggedIn()){
- header( "Location: ".OC_HELPER::linkTo( "index.php" ));
+if( !OC_User::isLoggedIn()){
+ header( "Location: ".OC_Helper::linkTo( "index.php" ));
exit();
}
@@ -12,13 +12,13 @@ $page=2;
// Load the files we need
-OC_UTIL::addStyle( "help", "help" );
-OC_APP::setActiveNavigationEntry( "help" );
+OC_Util::addStyle( "help", "help" );
+OC_App::setActiveNavigationEntry( "help" );
-$kbe=OC_OCSCLIENT::getKnownledgebaseEntries();
+$kbe=OC_OCSClient::getKnownledgebaseEntries();
-$tmpl = new OC_TEMPLATE( "help", "index", "admin" );
+$tmpl = new OC_Template( "help", "index", "admin" );
$tmpl->assign( "kbe", $kbe );
$tmpl->assign( "pagecount", $pagecount );
$tmpl->assign( "page", $page );