summaryrefslogtreecommitdiffstats
path: root/settings.php
diff options
context:
space:
mode:
authorAlessandro Cosentino <cosenal@gmail.com>2012-06-26 19:20:22 -0400
committerAlessandro Cosentino <cosenal@gmail.com>2012-06-26 19:20:22 -0400
commita0afcd5f7181df2f1d2d24dc941726b3dc074a7d (patch)
tree8acafc8fda96bf58cf930a4d7bb7035bcb7a09bd /settings.php
parentc2c91647495e343a503f23b56854ada7599b94b8 (diff)
adds dialog to add feed or folder / starts settings page
Diffstat (limited to 'settings.php')
-rw-r--r--settings.php9
1 files changed, 2 insertions, 7 deletions
diff --git a/settings.php b/settings.php
index 2fc3d0804..94d057358 100644
--- a/settings.php
+++ b/settings.php
@@ -1,13 +1,8 @@
<?php
-OC_Util::checkAdminUser();
+//OCP\Util::addscript( "news", "admin" );
-OC_Util::addScript( "news", "admin" );
-
-$tmpl = new OC_Template( 'news', 'settings');
-
-$tmpl->assign('url',OC_Config::getValue( "somesetting", '' ));
+$tmpl = new OCP\Template( 'news', 'settings');
return $tmpl->fetchPage();
-?>