]> git.immae.eu Git - github/shaarli/Shaarli.git/blobdiff - application/FileUtils.php
Merge pull request #1698 from ArthurHoaro/feature/plugins-search-filter
[github/shaarli/Shaarli.git] / application / FileUtils.php
diff --git a/application/FileUtils.php b/application/FileUtils.php
deleted file mode 100644 (file)
index 6cac982..0000000
+++ /dev/null
@@ -1,21 +0,0 @@
-<?php
-/**
- * Exception class thrown when a filesystem access failure happens
- */
-class IOException extends Exception
-{
-    private $path;
-
-    /**
-     * Construct a new IOException
-     *
-     * @param string $path    path to the resource that cannot be accessed
-     * @param string $message Custom exception message.
-     */
-    public function __construct($path, $message = '')
-    {
-        $this->path = $path;
-        $this->message = empty($message) ? 'Error accessing' : $message;
-        $this->message .= PHP_EOL . $this->path;
-    }
-}