Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
V
vtigercrm
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Admin message
Welcome to Vtiger Community. To gain access for account, please contact [ community @ vtiger.com ]
Show more breadcrumbs
osmar Lopez
vtigercrm
Commits
b0fb72f8
Commit
b0fb72f8
authored
3 years ago
by
Prasad
Browse files
Options
Downloads
Patches
Plain Diff
Fixed function signatures to eliminate php warning
parent
a508a772
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
vtlib/Vtiger/LayoutExport.php
+3
-3
3 additions, 3 deletions
vtlib/Vtiger/LayoutExport.php
vtlib/Vtiger/LayoutImport.php
+2
-2
2 additions, 2 deletions
vtlib/Vtiger/LayoutImport.php
with
5 additions
and
5 deletions
vtlib/Vtiger/LayoutExport.php
+
3
−
3
View file @
b0fb72f8
...
...
@@ -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
}
This diff is collapsed.
Click to expand it.
vtlib/Vtiger/LayoutImport.php
+
2
−
2
View file @
b0fb72f8
...
...
@@ -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
}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment