aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/textformatter
diff options
context:
space:
mode:
authorJoshyPHP <s9e.dev@gmail.com>2015-03-25 01:13:31 +0100
committerJoshyPHP <s9e.dev@gmail.com>2015-04-02 19:16:04 +0200
commit2a462bb7e43b848d0277bd27e14ca4d645230eeb (patch)
tree28bb0e2776a3b98844dbc3016a83bb42837a8887 /phpBB/phpbb/textformatter
parent37fedc656fbdeb36b098375201042eed4c7e7229 (diff)
downloadforums-2a462bb7e43b848d0277bd27e14ca4d645230eeb.tar
forums-2a462bb7e43b848d0277bd27e14ca4d645230eeb.tar.gz
forums-2a462bb7e43b848d0277bd27e14ca4d645230eeb.tar.bz2
forums-2a462bb7e43b848d0277bd27e14ca4d645230eeb.tar.xz
forums-2a462bb7e43b848d0277bd27e14ca4d645230eeb.zip
[ticket/11768] Removed get_parser() / get_renderer() accessors
There's no need to access the s9e\TextFormatter objects outside of events. PHPBB3-11768
Diffstat (limited to 'phpBB/phpbb/textformatter')
-rw-r--r--phpBB/phpbb/textformatter/s9e/parser.php10
-rw-r--r--phpBB/phpbb/textformatter/s9e/renderer.php10
2 files changed, 0 insertions, 20 deletions
diff --git a/phpBB/phpbb/textformatter/s9e/parser.php b/phpBB/phpbb/textformatter/s9e/parser.php
index 2f4a03d4c2..6fda94d7ba 100644
--- a/phpBB/phpbb/textformatter/s9e/parser.php
+++ b/phpBB/phpbb/textformatter/s9e/parser.php
@@ -191,16 +191,6 @@ class parser implements \phpbb\textformatter\parser_interface
}
/**
- * Return the instance of s9e\TextFormatter\Parser used by this object
- *
- * @return \s9e\TextFormatter\Parser
- */
- public function get_parser()
- {
- return $this->parser;
- }
-
- /**
* {@inheritdoc}
*/
public function set_var($name, $value)
diff --git a/phpBB/phpbb/textformatter/s9e/renderer.php b/phpBB/phpbb/textformatter/s9e/renderer.php
index 75de54d942..b68c9dd9be 100644
--- a/phpBB/phpbb/textformatter/s9e/renderer.php
+++ b/phpBB/phpbb/textformatter/s9e/renderer.php
@@ -147,16 +147,6 @@ class renderer implements \phpbb\textformatter\renderer_interface
}
/**
- * Return the instance of s9e\TextFormatter\Renderer used by this object
- *
- * @return \s9e\TextFormatter\Renderer
- */
- public function get_renderer()
- {
- return $this->renderer;
- }
-
- /**
* {@inheritdoc}
*/
public function get_viewcensors()