mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 14:00:31 +02:00
[ticket/15305] Remove not_implemented exception
PHPBB3-15305
This commit is contained in:
@@ -68,7 +68,6 @@ class storage
|
||||
*
|
||||
* @throws \phpbb\storage\exception\exception When the file already exists
|
||||
* When the file cannot be written
|
||||
* @throws \phpbb\storage\exception\not_implemented When the adapter doesnt implement the method
|
||||
*/
|
||||
public function put_contents($path, $content)
|
||||
{
|
||||
@@ -82,7 +81,6 @@ class storage
|
||||
*
|
||||
* @throws \phpbb\storage\exception\exception When the file dont exists
|
||||
* When cannot read file contents
|
||||
* @throws \phpbb\storage\exception\not_implemented When the adapter doesnt implement the method
|
||||
*
|
||||
* @return string Returns file contents
|
||||
*
|
||||
@@ -97,8 +95,6 @@ class storage
|
||||
*
|
||||
* @param string $path file/directory to check
|
||||
*
|
||||
* @throws \phpbb\storage\exception\not_implemented When the adapter doesnt implement the method
|
||||
*
|
||||
* @return bool Returns true if the file/directory exist, false otherwise.
|
||||
*/
|
||||
public function exists($path)
|
||||
@@ -112,7 +108,6 @@ class storage
|
||||
* @param string $path file/directory to remove
|
||||
*
|
||||
* @throws \phpbb\storage\exception\exception When removal fails.
|
||||
* @throws \phpbb\storage\exception\not_implemented When the adapter doesnt implement the method
|
||||
*/
|
||||
public function delete($path)
|
||||
{
|
||||
@@ -127,7 +122,6 @@ class storage
|
||||
*
|
||||
* @throws \phpbb\storage\exception\exception When target exists
|
||||
* When file/directory cannot be renamed
|
||||
* @throws \phpbb\storage\exception\not_implemented When the adapter doesnt implement the method
|
||||
*/
|
||||
public function rename($path_orig, $path_dest)
|
||||
{
|
||||
@@ -142,7 +136,6 @@ class storage
|
||||
*
|
||||
* @throws \phpbb\storage\exception\exception When target exists
|
||||
* When the file cannot be copied
|
||||
* @throws \phpbb\storage\exception\not_implemented When the adapter doesnt implement the method
|
||||
*/
|
||||
public function copy($path_orig, $path_dest)
|
||||
{
|
||||
@@ -184,7 +177,6 @@ class storage
|
||||
* @param string $path The target file
|
||||
* @param resource $resource The resource
|
||||
* When target file cannot be created
|
||||
* @throws \phpbb\storage\exception\not_implemented When the adapter doesnt implement the method
|
||||
*/
|
||||
public function write_stream($path, $resource)
|
||||
{
|
||||
|
Reference in New Issue
Block a user