Skip to content
Snippets Groups Projects
Commit ea366948 authored by Jaime Perez Crespo's avatar Jaime Perez Crespo
Browse files

Get rid of unused, private methods in SimpleSAML_XHTML_Template.

parent e3611647
No related branches found
No related tags found
No related merge requests found
...@@ -29,18 +29,6 @@ class SimpleSAML_XHTML_Template { ...@@ -29,18 +29,6 @@ class SimpleSAML_XHTML_Template {
$this->translator = new SimpleSAML\Locale\Translate($configuration, $defaultDictionary = null); $this->translator = new SimpleSAML\Locale\Translate($configuration, $defaultDictionary = null);
} }
/**
* Includes a file relative to the template base directory.
* This function can be used to include headers and footers etc.
*
*/
private function includeAtTemplateBase($file) {
$data = $this->data;
$filename = $this->findTemplatePath($file);
include($filename);
}
/** /**
* @deprecated This method will be removed in SSP 2.0. Please use SimpleSAML\Locale\Translate::getTranslation() * @deprecated This method will be removed in SSP 2.0. Please use SimpleSAML\Locale\Translate::getTranslation()
...@@ -60,22 +48,6 @@ class SimpleSAML_XHTML_Template { ...@@ -60,22 +48,6 @@ class SimpleSAML_XHTML_Template {
} }
/**
* Wrap Language->isLanguageRTL
*/
private function isLanguageRTL() {
return $this->translator->language->isLanguageRTL();
}
/**
* Wraps Language->getLanguageList
*/
private function getLanguageList() {
return $this->translator->language->getLanguageList();
}
/** /**
* Wraps Translate->includeInlineTranslation() * Wraps Translate->includeInlineTranslation()
* *
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment