Skip to content
Snippets Groups Projects
Commit b0fb72f8 authored by Prasad's avatar Prasad
Browse files

Fixed function signatures to eliminate php warning

parent a508a772
No related branches found
No related tags found
No related merge requests found
......@@ -36,7 +36,7 @@ class Vtiger_LayoutExport extends Vtiger_Package {
* Initialize Export
* @access private
*/
function __initExport($layoutName) {
function __initExport($layoutName, $moduleInstance = false) {
// Security check to ensure file is withing the web folder.
Vtiger_Utils::checkFileAccessForInclusion("layouts/$layoutName/skins/vtiger/style.less");
......@@ -114,7 +114,7 @@ class Vtiger_LayoutExport extends Vtiger_Package {
* Export vtiger dependencies
* @access private
*/
function export_Dependencies() {
function export_Dependencies($moduleInstance = false) {
global $vtiger_current_version, $adb;
$vtigerMinVersion = $vtiger_current_version;
......@@ -183,4 +183,4 @@ class Vtiger_LayoutExport extends Vtiger_Package {
self::log("Deregistering Layout $name ... DONE");
}
}
\ No newline at end of file
}
......@@ -27,7 +27,7 @@ class Vtiger_LayoutImport extends Vtiger_LayoutExport {
* Initialize Import
* @access private
*/
function initImport($zipfile, $overwrite) {
function initImport($zipfile, $overwrite = true) {
$this->__initSchema();
$name = $this->getModuleNameFromZip($zipfile);
return $name;
......@@ -132,4 +132,4 @@ function import_Layout($zipfile) {
}
}
\ No newline at end of file
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment