summaryrefslogtreecommitdiffstats
path: root/templates/main.php
diff options
context:
space:
mode:
authorBernhard Posselt <dev@bernhard-posselt.com>2014-05-13 22:10:02 +0200
committerBernhard Posselt <dev@bernhard-posselt.com>2014-05-13 22:10:02 +0200
commitb9de58c0c9da63f6a489df416df1819a40cb507d (patch)
tree838ca16395b6c681e22e970897dd9a71b950e955 /templates/main.php
parent066b4b5a22a89fe3b38d37f09153090091928cd5 (diff)
remove more old code
Diffstat (limited to 'templates/main.php')
-rw-r--r--templates/main.php12
1 files changed, 1 insertions, 11 deletions
diff --git a/templates/main.php b/templates/main.php
index 8ac778dea..03c5a7c03 100644
--- a/templates/main.php
+++ b/templates/main.php
@@ -13,17 +13,7 @@
\OCP\Util::addStyle('news', 'settings');
\OCP\Util::addStyle('news', 'showall');
\OCP\Util::addStyle('news', 'firstrun');
-
-
-// stylesheets for different OC versions
-$version = \OCP\Util::getVersion();
-
-// owncloud 6
-if($version[0] > 5 || ($version[0] >= 5 && $version[1] >= 80)) {
- \OCP\Util::addStyle('news', 'owncloud6');
-}
-
-
+\OCP\Util::addStyle('news', 'owncloud6');
?>
<div id="app" ng-app="News" ng-cloak ng-controller="AppController">