Permalink
Browse files

chore(css): Remove support for long-deprecated 'css' view

BREAKING CHANGE:
If your theme or plugin was overriding or extending the 'css' view,
you should override/extend the 'css/elgg' view instead.
  • Loading branch information...
ewinslow committed Jun 11, 2015
1 parent 346861c commit 514417063bd9a2ae89822050e0f5d6b893248bd1
Showing with 0 additions and 12 deletions.
  1. +0 −12 views/default/css/elgg.php
View
@@ -13,14 +13,6 @@
* #e4ecf5 - elgg very light blue
*/
-// check if there is a theme overriding the old css view and use it, if it exists
-$old_css_view = elgg_get_view_location('css');
-if ($old_css_view != elgg_get_config('viewpath')) {
- echo elgg_view('css', $vars);
- return true;
-}
-
-
/*******************************************************************************
Base CSS
@@ -63,7 +55,3 @@
// included last to have higher priority
echo elgg_view('css/elements/helpers', $vars);
-
-
-// in case plugins are still extending the old 'css' view, display it
-echo elgg_view('css', $vars);

0 comments on commit 5144170

Please sign in to comment.