From ebc71d92a66f0386093f4370004692f2e05236ea Mon Sep 17 00:00:00 2001
From: Anika Henke <anika@selfthinker.org>
Date: Mon, 18 Apr 2016 22:09:41 +0100
Subject: [PATCH] removed support for deprecated 'default' userstyles

---
 lib/exe/css.php | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/lib/exe/css.php b/lib/exe/css.php
index 507a68737..ade1547ce 100644
--- a/lib/exe/css.php
+++ b/lib/exe/css.php
@@ -50,11 +50,6 @@ function css_out(){
     // load styl.ini
     $styleini = css_styleini($tpl, $INPUT->bool('preview'));
 
-    // if old 'default' userstyle setting exists, make it 'screen' userstyle for backwards compatibility
-    if (isset($config_cascade['userstyle']['default'])) {
-        $config_cascade['userstyle']['screen'] = array($config_cascade['userstyle']['default']);
-    }
-
     // cache influencers
     $tplinc = tpl_incdir($tpl);
     $cache_files = getConfigFiles('main');
-- 
GitLab