diff --git a/airtime_mvc/application/models/airtime/CcFiles.php b/airtime_mvc/application/models/airtime/CcFiles.php index e27bed4a9..eb50f8821 100644 --- a/airtime_mvc/application/models/airtime/CcFiles.php +++ b/airtime_mvc/application/models/airtime/CcFiles.php @@ -119,9 +119,8 @@ class CcFiles extends BaseCcFiles { * @param bool $copyFile True if you want to just copy the false, false if you want to move it (default false) * @throws Exception */ - public static function createFromLocalFile($filePath, $copyFile=false) + public static function createFromLocalFile($fileArray, $filePath, $copyFile=false) { - $fileArray = array(); $info = pathinfo($filePath); $fileName = basename($filePath).'.'.$info['extension']; self::createAndImport($fileArray, $filePath, $fileName, $copyFile);