[ticket/15253] Fix get contents method

PHPBB3-15253
This commit is contained in:
Rubén Calvo 2017-07-14 13:40:21 +02:00
parent 01a28d0bd4
commit 30e0015ca9
2 changed files with 3 additions and 1 deletions

View file

@ -33,6 +33,8 @@ interface adapter_interface
* *
* @throws \phpbb\storage\exception\exception When the file dont exists * @throws \phpbb\storage\exception\exception When the file dont exists
* When cannot read file contents * When cannot read file contents
* @return string Returns file contents
*
*/ */
public function get_contents($path); public function get_contents($path);

View file

@ -32,7 +32,7 @@ class storage
public function get_contents($path) public function get_contents($path)
{ {
$this->adapter->put_contents($path); return $this->adapter->get_contents($path);
} }
public function exists($path) public function exists($path)