summaryrefslogtreecommitdiffstats
path: root/lib/private/template
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2016-01-26 11:36:56 +0100
committerThomas Müller <thomas.mueller@tmit.eu>2016-01-26 11:36:56 +0100
commit2bafb1c6493d67360f9ac6f4997a56664f3f2751 (patch)
tree7ccba69806bebf24d2adc790adc363cb184b5e2b /lib/private/template
parentecf2d178b1c3db3000f4d9c9d65f08ec3890488e (diff)
parent12b22c275974ef544adff2029a542d97210c8087 (diff)
downloadnextcloud-server-2bafb1c6493d67360f9ac6f4997a56664f3f2751.tar.gz
nextcloud-server-2bafb1c6493d67360f9ac6f4997a56664f3f2751.zip
Merge pull request #21894 from owncloud/refactor-csrf
Add new CSRF manager for unit testing purposes
Diffstat (limited to 'lib/private/template')
-rw-r--r--lib/private/template/base.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/private/template/base.php b/lib/private/template/base.php
index 944747197b7..938cca4c38d 100644
--- a/lib/private/template/base.php
+++ b/lib/private/template/base.php
@@ -34,12 +34,13 @@ class Base {
/**
* @param string $template
+ * @param string $requestToken
* @param \OC_L10N $l10n
* @param \OC_Defaults $theme
*/
- public function __construct( $template, $requesttoken, $l10n, $theme ) {
+ public function __construct($template, $requestToken, $l10n, $theme ) {
$this->vars = array();
- $this->vars['requesttoken'] = $requesttoken;
+ $this->vars['requesttoken'] = $requestToken;
$this->l10n = $l10n;
$this->template = $template;
$this->theme = $theme;