Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/news.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernhard Posselt <dev@bernhard-posselt.com>2015-01-15 18:06:47 +0300
committerBernhard Posselt <dev@bernhard-posselt.com>2015-01-18 16:06:07 +0300
commitdabc3b10603db8827e5b00efef4c9d1d62065e3a (patch)
treeab6c2588aef7a76203a57c892066348519212def /templates
parentc457cac571bc062dcccb8d68b6e5a0280a5e3341 (diff)
remove owncloud 7 support
Diffstat (limited to 'templates')
-rw-r--r--templates/index.php11
1 files changed, 1 insertions, 10 deletions
diff --git a/templates/index.php b/templates/index.php
index e732dac59..5da7d3c21 100644
--- a/templates/index.php
+++ b/templates/index.php
@@ -11,10 +11,6 @@ script('news', [
]);
if (defined('DEBUG') && DEBUG === true) {
- if (version_compare(implode('.', \OCP\Util::getVersion()), '7.8', '<=')) {
- style('news', '7');
- }
-
style('news', [
'app',
'custom',
@@ -29,12 +25,7 @@ if (defined('DEBUG') && DEBUG === true) {
script('news', 'build/app');
} else {
- if (version_compare(implode('.', \OCP\Util::getVersion()), '7.8', '<=')) {
- style('news', 'news-owncloud7.min');
- } else {
- style('news', 'news.min');
- }
-
+ style('news', 'news.min');
script('news', 'build/app.min');
}