summaryrefslogtreecommitdiffstats
path: root/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'index.php')
-rw-r--r--index.php21
1 files changed, 7 insertions, 14 deletions
diff --git a/index.php b/index.php
index cd609d740..526509cc2 100644
--- a/index.php
+++ b/index.php
@@ -71,19 +71,12 @@ if(isset($_GET['jstest'])){
$tmpl->assign('feedtype', $feedtype);
$tmpl->printPage();
- } else {
-
- OCP\Util::addScript('news','main');
- OCP\Util::addScript('news','news');
- OCP\Util::addScript('news','menu');
- OCP\Util::addScript('news','items');
-
- OCP\Util::addStyle('news','firstrun');
-
+ } else {
+
+ OCP\Util::addScript('news','news');
+ OCP\Util::addScript('news','firstrun');
+ OCP\Util::addStyle('news','firstrun');
$tmpl = new OCP\Template( 'news', 'firstrun', 'user' );
$tmpl->printPage();
-
- }
-
-
-} \ No newline at end of file
+ }
+}