diff --git a/h5p-default-storage.class.php b/h5p-default-storage.class.php index 9f11f1c..5b8ffeb 100644 --- a/h5p-default-storage.class.php +++ b/h5p-default-storage.class.php @@ -247,16 +247,6 @@ class H5PDefaultStorage implements \H5PFileStorage { } } - /** - * Read file content of given file and then return it. - * - * @param string $file_path - * @return string - */ - public function getContent($file_path) { - return file_get_contents($this->path . $file_path); - } - /** * Recursive function for copying directories. * diff --git a/h5p-file-storage.interface.php b/h5p-file-storage.interface.php index b75625e..dfaa67a 100644 --- a/h5p-file-storage.interface.php +++ b/h5p-file-storage.interface.php @@ -117,12 +117,4 @@ interface H5PFileStorage { * The hash keys of removed files */ public function deleteCachedAssets($keys); - - /** - * Read file content of given file and then return it. - * - * @param string $file_path - * @return string contents - */ - public function getContent($file_path); }