summaryrefslogtreecommitdiffstats
path: root/lib/private/template/resourcelocator.php
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2014-11-12 12:37:50 +0100
committerMorris Jobke <hey@morrisjobke.de>2014-11-12 13:07:23 +0100
commit952abdc51ae19e05cf428e911d55de92c6ecc52f (patch)
treea3d30cd5d3ec208db6581d33e25a05869a829944 /lib/private/template/resourcelocator.php
parentc998f620d0b19e3f832ca7a65134035cf81e6d6f (diff)
downloadnextcloud-server-952abdc51ae19e05cf428e911d55de92c6ecc52f.tar.gz
nextcloud-server-952abdc51ae19e05cf428e911d55de92c6ecc52f.zip
Drop form_factor that is appended to JS, CSS and template filenames
Diffstat (limited to 'lib/private/template/resourcelocator.php')
-rw-r--r--lib/private/template/resourcelocator.php8
1 files changed, 2 insertions, 6 deletions
diff --git a/lib/private/template/resourcelocator.php b/lib/private/template/resourcelocator.php
index 7976c415922..919665df704 100644
--- a/lib/private/template/resourcelocator.php
+++ b/lib/private/template/resourcelocator.php
@@ -10,7 +10,6 @@ namespace OC\Template;
abstract class ResourceLocator {
protected $theme;
- protected $form_factor;
protected $mapping;
protected $serverroot;
@@ -21,11 +20,9 @@ abstract class ResourceLocator {
/**
* @param string $theme
- * @param string $form_factor
*/
- public function __construct( $theme, $form_factor, $core_map, $party_map ) {
+ public function __construct( $theme, $core_map, $party_map ) {
$this->theme = $theme;
- $this->form_factor = $form_factor;
$this->mapping = $core_map + $party_map;
$this->serverroot = key($core_map);
$this->thirdpartyroot = key($party_map);
@@ -46,8 +43,7 @@ abstract class ResourceLocator {
}
}
} catch (\Exception $e) {
- throw new \Exception($e->getMessage().' formfactor:'.$this->form_factor
- .' serverroot:'.$this->serverroot);
+ throw new \Exception($e->getMessage().' serverroot:'.$this->serverroot);
}
}