Resolved gh-444 by adding the new phpspreadsheet library, and removing the old PHPExcel library.
This commit is contained in:
@ -17,6 +17,8 @@ defined('_JEXEC') or die('Restricted access');
|
||||
// No direct access to this file
|
||||
defined('_JEXEC') or die('Restricted access');
|
||||
|
||||
use PhpOffice\PhpSpreadsheet\IOFactory;
|
||||
|
||||
/**
|
||||
* ###Component### ###View### Model
|
||||
*/
|
||||
@ -251,8 +253,8 @@ class ###Component###Model###View### extends JModelLegacy
|
||||
|
||||
return $check;
|
||||
}
|
||||
###IMPORT_EXT_METHOD_CUSTOM###
|
||||
|
||||
###IMPORT_EXT_METHOD###
|
||||
|
||||
/**
|
||||
* Clean up temporary uploaded spreadsheet
|
||||
*
|
||||
@ -279,9 +281,9 @@ class ###Component###Model###View### extends JModelLegacy
|
||||
JFile::delete(JPath::clean($package));
|
||||
}
|
||||
}
|
||||
###IMPORT_SETDATE_METHOD_CUSTOM###
|
||||
###IMPORT_SAVE_METHOD_CUSTOM###
|
||||
|
||||
###IMPORT_SETDATA_METHOD###
|
||||
###IMPORT_SAVE_METHOD###
|
||||
|
||||
protected function getAlias($name,$type = false)
|
||||
{
|
||||
// sanitize the name to an alias
|
||||
|
Reference in New Issue
Block a user