summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2013-01-28 00:29:46 -0800
committerThomas Müller <thomas.mueller@tmit.eu>2013-01-28 00:29:46 -0800
commit31d83fddc482959d7fb4f7377cc7020c59c30951 (patch)
tree2294989764a9f87e8965a8ea8e71aadc5d09bfb4 /lib
parent44d6ff61e254635f055a1c92f12c653e5b1a1e7b (diff)
parent2e42c6f54f85c5ac5b339625d04685535ac69d40 (diff)
downloadnextcloud-server-31d83fddc482959d7fb4f7377cc7020c59c30951.tar.gz
nextcloud-server-31d83fddc482959d7fb4f7377cc7020c59c30951.zip
Merge pull request #1321 from owncloud/csp-fixes
Files: CSP fixes
Diffstat (limited to 'lib')
-rw-r--r--lib/templatelayout.php5
1 files changed, 0 insertions, 5 deletions
diff --git a/lib/templatelayout.php b/lib/templatelayout.php
index 83d36199986..37ece91047f 100644
--- a/lib/templatelayout.php
+++ b/lib/templatelayout.php
@@ -28,11 +28,6 @@ class OC_TemplateLayout extends OC_Template {
break;
}
}
- $apps_paths = array();
- foreach(OC_App::getEnabledApps() as $app) {
- $apps_paths[$app] = OC_App::getAppWebPath($app);
- }
- $this->assign( 'apps_paths', str_replace('\\/', '/', json_encode($apps_paths)), false ); // Ugly unescape slashes waiting for better solution
} else if ($renderas == 'guest') {
parent::__construct('core', 'layout.guest');
} else {