]> git.mxchange.org Git - core.git/blobdiff - inc/classes/main/database/databases/class_LocalFileDatabase.php
Refactured code for deprecated includes file_io and language:
[core.git] / inc / classes / main / database / databases / class_LocalFileDatabase.php
index 54b1841dff5966cccca09af25eb08704692c6d17..854a8888e73dd5a2068abed98668e67d20c75fb1 100644 (file)
@@ -92,18 +92,15 @@ class LocalFileDatabase extends BaseDatabaseFrontend implements DatabaseFrontend
         * Create an object of LocalFileDatabase and set the save path for local files.
         * This method also validates the given file path.
         *
-        * @param               $savePath               The local file path string
-        * @param               $ioInstance             The input/output handler. This
-        *                                                              should be FileIoHandler
-        * @return      $dbInstance                     An instance of LocalFileDatabase
+        * @param       $savePath               The local file path string
+        * @return      $dbInstance             An instance of LocalFileDatabase
         */
-       public static final function createLocalFileDatabase ($savePath, FileIoHandler $ioInstance) {
+       public static final function createLocalFileDatabase ($savePath) {
                // Get an instance
                $databaseInstance = new LocalFileDatabase();
 
                // Set save path and IO instance
                $databaseInstance->setSavePath($savePath);
-               $databaseInstance->setFileIoInstance($ioInstance);
 
                // Set the compressor channel
                $databaseInstance->setCompressorChannel(CompressorChannel::createCompressorChannel(